summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/relayd/proc.c')
-rw-r--r--usr.sbin/relayd/proc.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/relayd/proc.c b/usr.sbin/relayd/proc.c
index 51ed973fb5e..0ecafa667ec 100644
--- a/usr.sbin/relayd/proc.c
+++ b/usr.sbin/relayd/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.6 2013/11/13 20:45:50 benno Exp $ */
+/* $OpenBSD: proc.c,v 1.7 2014/02/14 10:21:00 benno Exp $ */
/*
* Copyright (c) 2010,2011 Reyk Floeter <reyk@openbsd.org>
@@ -588,16 +588,6 @@ proc_forward_imsg(struct privsep *ps, struct imsg *imsg,
imsg->fd, imsg->data, IMSG_DATA_SIZE(imsg)));
}
-void
-proc_flush_imsg(struct privsep *ps, enum privsep_procid id, int n)
-{
- int m;
-
- proc_range(ps, id, &n, &m);
- for (; n < m; n++)
- imsg_flush(&ps->ps_ievs[id][n].ibuf);
-}
-
struct imsgbuf *
proc_ibuf(struct privsep *ps, enum privsep_procid id, int n)
{