summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/smtpd/forward.c5
-rw-r--r--usr.sbin/smtpd/smtpd.h6
2 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/forward.c b/usr.sbin/smtpd/forward.c
index 7f4403ef79a..cca2b9d61b8 100644
--- a/usr.sbin/smtpd/forward.c
+++ b/usr.sbin/smtpd/forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: forward.c,v 1.3 2008/11/17 21:32:23 gilles Exp $ */
+/* $OpenBSD: forward.c,v 1.4 2008/11/25 23:06:15 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -41,8 +41,7 @@
#include "smtpd.h"
-int alias_parse(struct alias *, char *);
-int forwards_get(struct aliaseslist *, char *);
+int alias_parse(struct alias *, char *);
int
forwards_get(struct aliaseslist *aliases, char *username)
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 102b463131a..a20582e0a25 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.15 2008/11/25 23:03:24 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.16 2008/11/25 23:06:15 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -658,6 +658,10 @@ int msgbuf_write(struct msgbuf *);
size_t getmxbyname(char *, char ***);
+/* forward.c */
+int forwards_get(struct aliaseslist *, char *);
+
+
/* imsg.c */
void imsg_init(struct imsgbuf *, int, void (*)(int, short, void *));
ssize_t imsg_read(struct imsgbuf *);