From 6e4a538c32d16fcf34d2f036edcbe9ca0c5fec86 Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Tue, 25 Nov 2008 23:06:16 +0000 Subject: - more prototype moving to smtpd.h --- usr.sbin/smtpd/forward.c | 5 ++--- usr.sbin/smtpd/smtpd.h | 6 +++++- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'usr.sbin/smtpd') 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 @@ -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 @@ -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 *); -- cgit v1.2.3