Browse Source

remove libevent remnants

OPENBSD_5_7
Brent Cook 10 years ago
parent
commit
c1e0a324f1
2 changed files with 34 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +33
    -0
      ntpd.patch

+ 1
- 0
.gitignore View File

@ -5,6 +5,7 @@
*.o *.o
*.la *.la
*.lo *.lo
*.orig
.deps .deps
.dirstamp .dirstamp


+ 33
- 0
ntpd.patch View File

@ -8,3 +8,36 @@
#include <unistd.h> #include <unistd.h>
#include <err.h> #include <err.h>
--- ntpd.orig Sun Dec 28 16:11:35 2014
+++ ntpd.h Sun Dec 28 16:12:14 2014
@@ -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 @@
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 @@
struct ctl_conn {
TAILQ_ENTRY(ctl_conn) entry;
- struct imsgev iev;
struct imsgbuf ibuf;
};

Loading…
Cancel
Save