summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/syslogd.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2005-06-06 23:22:05 +0000
committerDamien Miller <djm@cvs.openbsd.org>2005-06-06 23:22:05 +0000
commitb434530a1ce857ded172af85fc8008788345dc13 (patch)
tree37dfc6874d03dc81da46ea3ac06fc538bac92fda /usr.sbin/syslogd/syslogd.h
parent1020578687b6174a183f3624dfdebbc6b6ca302e (diff)
memory leak on SIGHUP for memory buffer logs, based on fix by Stephen Marley;
ok avsm@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.h')
-rw-r--r--usr.sbin/syslogd/syslogd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/syslogd/syslogd.h b/usr.sbin/syslogd/syslogd.h
index ca8f89d2bad..5e40e3eb82f 100644
--- a/usr.sbin/syslogd/syslogd.h
+++ b/usr.sbin/syslogd/syslogd.h
@@ -60,6 +60,7 @@ struct ringbuf {
};
struct ringbuf *ringbuf_init(size_t);
+void ringbuf_free(struct ringbuf *);
void ringbuf_clear(struct ringbuf *);
size_t ringbuf_used(struct ringbuf *);
int ringbuf_append_line(struct ringbuf *, char *);