Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

  1. From 0d94976a5b804c445cb8c34d2d0665c379e86ee5 Mon Sep 17 00:00:00 2001
  2. From: Brent Cook <busterb@gmail.com>
  3. Date: Tue, 30 Dec 2014 08:59:19 -0600
  4. Subject: [PATCH 02/16] removed unused libevent header and structures in ntpd.h
  5. It does not appear anything actually uses libevent in ntpd, so remove
  6. the libevent-using structures from ntpd.h
  7. ---
  8. src/usr.sbin/ntpd/ntpd.h | 10 ----------
  9. 1 file changed, 10 deletions(-)
  10. diff --git a/src/usr.sbin/ntpd/ntpd.h b/src/usr.sbin/ntpd/ntpd.h
  11. index 8095be3..aa9858b 100644
  12. --- a/src/usr.sbin/ntpd/ntpd.h
  13. +++ b/src/usr.sbin/ntpd/ntpd.h
  14. @@ -28,7 +28,6 @@
  15. #include <netdb.h>
  16. #include <pwd.h>
  17. #include <stdarg.h>
  18. -#include <event.h>
  19. #include <poll.h>
  20. #include "ntp.h"
  21. @@ -190,14 +189,6 @@ struct ntpd_conf {
  22. u_int8_t filters;
  23. };
  24. -struct imsgev {
  25. - struct imsgbuf ibuf;
  26. - void (*handler)(int, short, void *);
  27. - struct event ev;
  28. - void *data;
  29. - short events;
  30. -};
  31. -
  32. struct ctl_show_status {
  33. u_int peercnt;
  34. u_int sensorcnt;
  35. @@ -240,7 +231,6 @@ enum blockmodes {
  36. struct ctl_conn {
  37. TAILQ_ENTRY(ctl_conn) entry;
  38. - struct imsgev iev;
  39. struct imsgbuf ibuf;
  40. };
  41. --
  42. 1.9.1