summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka_session.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-09-21 10:22:30 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-09-21 10:22:30 +0000
commitf4052dcf6a490e95d9ba80644c70f44b14b072c7 (patch)
tree91351e80b67b82acc71986cff09f3e65a0c367ca /usr.sbin/smtpd/lka_session.c
parent2e1d858eb52f280440e2f9a8249aece7ef578bf4 (diff)
Move ruleset_match() prototype to smtpd.h and make the envelope const.
Adapt a lot of functions in chain to use const args where required. ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/lka_session.c')
-rw-r--r--usr.sbin/smtpd/lka_session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/lka_session.c b/usr.sbin/smtpd/lka_session.c
index b26fbfdf987..0c88fa307d0 100644
--- a/usr.sbin/smtpd/lka_session.c
+++ b/usr.sbin/smtpd/lka_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_session.c,v 1.29 2012/09/19 10:10:30 eric Exp $ */
+/* $OpenBSD: lka_session.c,v 1.30 2012/09/21 10:22:29 eric Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -51,7 +51,6 @@ static void lka_session_request_forwardfile(struct lka_session *,
static void lka_session_deliver(struct lka_session *, struct envelope *);
static int lka_session_resolve_node(struct envelope *, struct expandnode *);
static int lka_session_rcpt_action(struct envelope *);
-struct rule *ruleset_match(struct envelope *);
static struct tree sessions = SPLAY_INITIALIZER(&sessions);