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.

47 lines
1023 B

  1. From da6f7a99e25c9fa0fca75576eaf29f0e8fe67441 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
  5. ---
  6. src/usr.sbin/ntpd/ntpd.h | 10 ----------
  7. 1 file changed, 10 deletions(-)
  8. diff --git a/src/usr.sbin/ntpd/ntpd.h b/src/usr.sbin/ntpd/ntpd.h
  9. index 8095be3..aa9858b 100644
  10. --- a/src/usr.sbin/ntpd/ntpd.h
  11. +++ b/src/usr.sbin/ntpd/ntpd.h
  12. @@ -28,7 +28,6 @@
  13. #include <netdb.h>
  14. #include <pwd.h>
  15. #include <stdarg.h>
  16. -#include <event.h>
  17. #include <poll.h>
  18. #include "ntp.h"
  19. @@ -190,14 +189,6 @@ struct ntpd_conf {
  20. u_int8_t filters;
  21. };
  22. -struct imsgev {
  23. - struct imsgbuf ibuf;
  24. - void (*handler)(int, short, void *);
  25. - struct event ev;
  26. - void *data;
  27. - short events;
  28. -};
  29. -
  30. struct ctl_show_status {
  31. u_int peercnt;
  32. u_int sensorcnt;
  33. @@ -240,7 +231,6 @@ enum blockmodes {
  34. struct ctl_conn {
  35. TAILQ_ENTRY(ctl_conn) entry;
  36. - struct imsgev iev;
  37. struct imsgbuf ibuf;
  38. };
  39. --
  40. 1.9.1