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.
 
 
 
 

43 lines
834 B

--- ntpd.orig 2014-12-28 11:51:56.363211155 -0600
+++ ntpd.c 2014-12-28 11:52:00.971211255 -0600
@@ -30,6 +30,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.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;
};