removed unused libevent header and structures in ntpd.h
authorbcook <bcook@openbsd.org>
Sun, 4 Jan 2015 01:13:10 +0000 (01:13 +0000)
committerbcook <bcook@openbsd.org>
Sun, 4 Jan 2015 01:13:10 +0000 (01:13 +0000)
ok deraadt@ phessler@

usr.sbin/ntpd/ntpd.h

index be15ea0..6978ea6 100644 (file)
@@ -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;
 };