diff options
author | 2014-02-14 10:38:09 +0000 | |
---|---|---|
committer | 2014-02-14 10:38:09 +0000 | |
commit | 0ef464eb4f43bccfed791d1b92de16c37186f5dc (patch) | |
tree | 1a708e1cb0b15208c04922be1dea5cf172be4681 | |
parent | remove unused function that distracts from cleaning up the imsg_flush() mess (diff) | |
download | wireguard-openbsd-0ef464eb4f43bccfed791d1b92de16c37186f5dc.tar.xz wireguard-openbsd-0ef464eb4f43bccfed791d1b92de16c37186f5dc.zip |
remove unused function that distracts from cleaning up the imsg_flush() mess
OK hennig@, benno@
-rw-r--r-- | usr.sbin/snmpd/proc.c | 8 | ||||
-rw-r--r-- | usr.sbin/snmpd/snmpd.h | 3 |
2 files changed, 2 insertions, 9 deletions
diff --git a/usr.sbin/snmpd/proc.c b/usr.sbin/snmpd/proc.c index 125fb93bed2..94990eb1f92 100644 --- a/usr.sbin/snmpd/proc.c +++ b/usr.sbin/snmpd/proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.c,v 1.2 2013/11/13 20:45:19 benno Exp $ */ +/* $OpenBSD: proc.c,v 1.3 2014/02/14 10:38:09 florian Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -435,9 +435,3 @@ proc_forward_imsg(struct privsep *ps, struct imsg *imsg, return (proc_compose_imsg(ps, id, imsg->hdr.type, imsg->fd, imsg->data, IMSG_DATA_SIZE(imsg))); } - -void -proc_flush_imsg(struct privsep *ps, enum privsep_procid id) -{ - imsg_flush(&ps->ps_ievs[id].ibuf); -} diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h index 067bf02fde4..95244c48e09 100644 --- a/usr.sbin/snmpd/snmpd.h +++ b/usr.sbin/snmpd/snmpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpd.h,v 1.48 2013/11/21 17:32:13 mikeb Exp $ */ +/* $OpenBSD: snmpd.h,v 1.49 2014/02/14 10:38:09 florian Exp $ */ /* * Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org> @@ -650,5 +650,4 @@ int proc_composev_imsg(struct privsep *, enum privsep_procid, u_int16_t, int, const struct iovec *, int); int proc_forward_imsg(struct privsep *, struct imsg *, enum privsep_procid); -void proc_flush_imsg(struct privsep *, enum privsep_procid); #endif /* _SNMPD_H */ |