summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2015-01-04 01:13:11 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2015-01-04 01:13:11 +0000
commitd341606bd277ee0da553d916374156e0850d1653 (patch)
tree23619d1ec0b8cda75ade8ebd9508fd18bb20e295
parentda4b699a7e6a9f34b3682f35cc843f8de622e79e (diff)
removed unused libevent header and structures in ntpd.h
ok deraadt@ phessler@
-rw-r--r--usr.sbin/ntpd/ntpd.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h
index be15ea0e59a..6978ea6fb72 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.111 2014/11/03 20:15:30 bluhm Exp $ */
+/* $OpenBSD: ntpd.h,v 1.112 2015/01/04 01:13:10 bcook Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -28,7 +28,6 @@
#include <netdb.h>
#include <pwd.h>
#include <stdarg.h>
-#include <event.h>
#include <poll.h>
#include "ntp.h"
@@ -190,14 +189,6 @@ struct ntpd_conf {
u_int8_t filters;
};
-struct imsgev {
- struct imsgbuf ibuf;
- void (*handler)(int, short, void *);
- struct event ev;
- void *data;
- short events;
-};
-
struct ctl_show_status {
u_int peercnt;
u_int sensorcnt;
@@ -240,7 +231,6 @@ enum blockmodes {
struct ctl_conn {
TAILQ_ENTRY(ctl_conn) entry;
- struct imsgev iev;
struct imsgbuf ibuf;
};