diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2010-11-28 15:32:01 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2010-11-28 15:32:01 +0000 |
commit | 68bf5776d65f6ced417ee802404bcefcba3c071f (patch) | |
tree | 8d46c3f859334b8579c6280aad211c9f35232a11 /usr.sbin | |
parent | 441f744f79d144b91ec3a596d39f11d676076c3f (diff) |
remove unused functions
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/queue.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c index b1f177f95b1..7d6c59e90cf 100644 --- a/usr.sbin/smtpd/queue.c +++ b/usr.sbin/smtpd/queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue.c,v 1.93 2010/11/28 14:35:58 gilles Exp $ */ +/* $OpenBSD: queue.c,v 1.94 2010/11/28 15:32:00 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -40,8 +40,6 @@ void queue_imsg(struct smtpd *, struct imsgev *, struct imsg *); void queue_pass_to_runner(struct smtpd *, struct imsgev *, struct imsg *); __dead void queue_shutdown(void); void queue_sig_handler(int, short, void *); -void queue_setup_events(struct smtpd *); -void queue_disable_events(struct smtpd *); void queue_purge(char *); int queue_create_layout_message(char *, char *); @@ -246,16 +244,6 @@ queue_shutdown(void) _exit(0); } -void -queue_setup_events(struct smtpd *env) -{ -} - -void -queue_disable_events(struct smtpd *env) -{ -} - pid_t queue(struct smtpd *env) { @@ -326,8 +314,6 @@ queue(struct smtpd *env) queue_purge(PATH_INCOMING); queue_purge(PATH_ENQUEUE); - queue_setup_events(env); - if (event_dispatch() < 0) fatal("event_dispatch"); queue_shutdown(); |