From 1651e95e6d480b48782fc774901633880b681e39 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Fri, 25 Feb 2005 16:43:20 +0000 Subject: [PATCH] Sync OpenNTPD with OpenBSD. --- usr.sbin/ntpd/patches/ntpd.c.patch | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/usr.sbin/ntpd/patches/ntpd.c.patch b/usr.sbin/ntpd/patches/ntpd.c.patch index 9842713ab7..e577361fca 100644 --- a/usr.sbin/ntpd/patches/ntpd.c.patch +++ b/usr.sbin/ntpd/patches/ntpd.c.patch @@ -1,9 +1,22 @@ -$DragonFly: src/usr.sbin/ntpd/patches/Attic/ntpd.c.patch,v 1.4 2004/12/01 04:14:08 joerg Exp $ +$DragonFly: src/usr.sbin/ntpd/patches/Attic/ntpd.c.patch,v 1.5 2005/02/25 16:43:20 joerg Exp $ --- ntpd.c.orig 2004-11-09 20:39:54.000000000 +0100 +++ ntpd.c 2004-11-09 20:40:48.000000000 +0100 -@@ -66,9 +66,7 @@ - void +@@ -34,7 +34,7 @@ + #include "ntpd.h" + + void sighdlr(int); +-__dead void usage(void); ++void usage(void) __dead2; + int main(int, char *[]); + int check_child(pid_t, const char *); + int dispatch_imsg(struct ntpd_conf *); +@@ -63,12 +63,10 @@ + } + } + +-__dead void ++void usage(void) { - extern char *__progname; -- 2.41.0