summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/imsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/imsg.c')
-rw-r--r--usr.sbin/smtpd/imsg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/imsg.c b/usr.sbin/smtpd/imsg.c
index 3224027fd67..ffedd039cf2 100644
--- a/usr.sbin/smtpd/imsg.c
+++ b/usr.sbin/smtpd/imsg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsg.c,v 1.3 2009/06/05 20:43:57 pyr Exp $ */
+/* $OpenBSD: imsg.c,v 1.4 2009/06/06 04:14:21 pyr Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -29,13 +29,12 @@
#include "imsg.h"
void
-imsg_init(struct imsgbuf *ibuf, int fd, void (*handler)(int, short, void *))
+imsg_init(struct imsgbuf *ibuf, int fd)
{
if (!ibuf->pid) {
msgbuf_init(&ibuf->w);
bzero(&ibuf->r, sizeof(ibuf->r));
ibuf->pid = getpid();
- ibuf->handler = handler;
TAILQ_INIT(&ibuf->fds);
}
ibuf->fd = fd;