From: Linux Karlsson Date: Tue, 3 Aug 2010 13:10:22 +0000 (+0200) Subject: Moved definition of progname and debug to sntp.c X-Git-Tag: NTP_4_2_7P75~35^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7cb4f68c8c426cb5949d8d6383edc0798f06e22;p=thirdparty%2Fntp.git Moved definition of progname and debug to sntp.c bk: 4c58153ekqx84oIS5Mw5G81WTFbjIQ --- diff --git a/sntp/main.c b/sntp/main.c index e1bf7c1d8..90e9cc947 100644 --- a/sntp/main.c +++ b/sntp/main.c @@ -5,10 +5,7 @@ #include "utilities.h" #include "log.h" -char *progname = "sntp"; /* for msyslog */ - int ai_fam_pref = AF_UNSPEC; -volatile int debug; struct key *keys = NULL; diff --git a/sntp/sntp.c b/sntp/sntp.c index 56c80f31d..28101a03f 100644 --- a/sntp/sntp.c +++ b/sntp/sntp.c @@ -1,5 +1,8 @@ #include "main.h" +char *progname = "sntp"; /* for msyslog */ +volatile int debug; + int main ( int argc,