diff --git a/src/usr.sbin/ntpd/client.c b/src/usr.sbin/ntpd/client.c index 02f0e2f2..0e7d454d 100644 --- a/src/usr.sbin/ntpd/client.c +++ b/src/usr.sbin/ntpd/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.95 2015/01/04 01:48:49 bcook Exp $ */ +/* $OpenBSD: client.c,v 1.96 2015/01/09 07:35:37 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#include #include #include #include diff --git a/src/usr.sbin/ntpd/control.c b/src/usr.sbin/ntpd/control.c index e5af00f0..e6d91bf3 100644 --- a/src/usr.sbin/ntpd/control.c +++ b/src/usr.sbin/ntpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.3 2015/01/04 01:24:43 bcook Exp $ */ +/* $OpenBSD: control.c,v 1.4 2015/01/09 07:35:37 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -170,8 +170,8 @@ control_dispatch_msg(struct pollfd *pfd, u_int *ctl_cnt) { struct imsg imsg; struct ctl_conn *c; - struct ntp_peer *p; - struct ntp_sensor *s; + struct ntp_peer *p; + struct ntp_sensor *s; struct ctl_show_status c_status; struct ctl_show_peer c_peer; struct ctl_show_sensor c_sensor; @@ -289,8 +289,8 @@ session_socket_blockmode(int fd, enum blockmodes bm) void build_show_status(struct ctl_show_status *cs) { - struct ntp_peer *p; - struct ntp_sensor *s; + struct ntp_peer *p; + struct ntp_sensor *s; cs->peercnt = cs->valid_peers = 0; cs->sensorcnt = cs->valid_sensors = 0; @@ -314,9 +314,9 @@ build_show_status(struct ctl_show_status *cs) void build_show_peer(struct ctl_show_peer *cp, struct ntp_peer *p) { - const char *a = "not resolved"; - const char *pool = "", *addr_head_name = ""; - u_int8_t shift, best, validdelaycnt, jittercnt; + const char *a = "not resolved"; + const char *pool = "", *addr_head_name = ""; + u_int8_t shift, best, validdelaycnt, jittercnt; time_t now; now = getmonotime(); @@ -395,7 +395,7 @@ void build_show_sensor(struct ctl_show_sensor *cs, struct ntp_sensor *s) { time_t now; - u_int8_t shift; + u_int8_t shift; u_int32_t refid; now = getmonotime(); diff --git a/src/usr.sbin/ntpd/ntp.c b/src/usr.sbin/ntpd/ntp.c index f0cafb37..e34d08c8 100644 --- a/src/usr.sbin/ntpd/ntp.c +++ b/src/usr.sbin/ntpd/ntp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp.c,v 1.124 2015/01/04 01:48:49 bcook Exp $ */ +/* $OpenBSD: ntp.c,v 1.125 2015/01/09 07:35:37 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#include #include #include #include diff --git a/src/usr.sbin/ntpd/ntp_dns.c b/src/usr.sbin/ntpd/ntp_dns.c index 931c25ee..e3eeb12c 100644 --- a/src/usr.sbin/ntpd/ntp_dns.c +++ b/src/usr.sbin/ntpd/ntp_dns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp_dns.c,v 1.5 2014/02/10 09:12:34 dtucker Exp $ */ +/* $OpenBSD: ntp_dns.c,v 1.6 2015/01/09 07:35:37 deraadt Exp $ */ /* * Copyright (c) 2003-2008 Henning Brauer @@ -16,7 +16,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#include #include #include diff --git a/src/usr.sbin/ntpd/ntp_msg.c b/src/usr.sbin/ntpd/ntp_msg.c index 15920417..f30c54bb 100644 --- a/src/usr.sbin/ntpd/ntp_msg.c +++ b/src/usr.sbin/ntpd/ntp_msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp_msg.c,v 1.19 2013/04/30 11:42:56 mglocker Exp $ */ +/* $OpenBSD: ntp_msg.c,v 1.20 2015/01/09 07:35:37 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#include #include #include #include diff --git a/src/usr.sbin/ntpd/ntpd.c b/src/usr.sbin/ntpd/ntpd.c index 4cb918bc..bfc73f97 100644 --- a/src/usr.sbin/ntpd/ntpd.c +++ b/src/usr.sbin/ntpd/ntpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.c,v 1.82 2015/01/08 00:30:08 bcook Exp $ */ +/* $OpenBSD: ntpd.c,v 1.83 2015/01/09 07:35:37 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -109,7 +109,7 @@ main(int argc, char *argv[]) int fd_ctl, ch, nfds; int pipe_chld[2]; struct passwd *pw; - extern char *__progname; + extern char *__progname; if (strcmp(__progname, "ntpctl") == 0) { ctl_main (argc, argv); diff --git a/src/usr.sbin/ntpd/ntpd.h b/src/usr.sbin/ntpd/ntpd.h index 20dfedb5..2b0ba465 100644 --- a/src/usr.sbin/ntpd/ntpd.h +++ b/src/usr.sbin/ntpd/ntpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.h,v 1.114 2015/01/08 00:30:08 bcook Exp $ */ +/* $OpenBSD: ntpd.h,v 1.115 2015/01/09 07:35:37 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -65,7 +65,7 @@ #define MAX_FREQUENCY_ADJUST 128e-5 /* max correction per iteration */ #define REPORT_INTERVAL (24*60*60) /* interval between status reports */ #define MAX_SEND_ERRORS 3 /* max send errors before reconnect */ -#define MAX_DISPLAY_WIDTH 80 /* max chars in ctl_show report line */ +#define MAX_DISPLAY_WIDTH 80 /* max chars in ctl_show report line */ #define FILTER_ADJFREQ 0x01 /* set after doing adjfreq */ @@ -203,7 +203,7 @@ struct ctl_show_status { }; struct ctl_show_peer { - char peer_desc[MAX_DISPLAY_WIDTH]; + char peer_desc[MAX_DISPLAY_WIDTH]; u_int8_t syncedto; u_int8_t weight; u_int8_t trustlevel; @@ -330,7 +330,7 @@ int control_listen(int); void control_shutdown(int); void control_cleanup(const char *); int control_accept(int); -struct ctl_conn *control_connbyfd(int); +struct ctl_conn *control_connbyfd(int); int control_close(int); int control_dispatch_msg(struct pollfd *, u_int *); void session_socket_blockmode(int, enum blockmodes); diff --git a/src/usr.sbin/ntpd/sensors.c b/src/usr.sbin/ntpd/sensors.c index 2b0ba706..6c5a1314 100644 --- a/src/usr.sbin/ntpd/sensors.c +++ b/src/usr.sbin/ntpd/sensors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensors.c,v 1.48 2015/01/08 00:25:47 bcook Exp $ */ +/* $OpenBSD: sensors.c,v 1.49 2015/01/09 07:35:37 deraadt Exp $ */ /* * Copyright (c) 2006 Henning Brauer @@ -16,7 +16,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#include #include #include #include diff --git a/src/usr.sbin/ntpd/server.c b/src/usr.sbin/ntpd/server.c index 773368d7..f5632468 100644 --- a/src/usr.sbin/ntpd/server.c +++ b/src/usr.sbin/ntpd/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.39 2014/06/03 18:42:29 chl Exp $ */ +/* $OpenBSD: server.c,v 1.40 2015/01/09 07:35:37 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -17,8 +17,8 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include #include +#include #include #include #include