]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Moved definition of progname and debug to sntp.c
authorLinux Karlsson <karlsson@ntp.org>
Tue, 3 Aug 2010 13:10:22 +0000 (15:10 +0200)
committerLinux Karlsson <karlsson@ntp.org>
Tue, 3 Aug 2010 13:10:22 +0000 (15:10 +0200)
bk: 4c58153ekqx84oIS5Mw5G81WTFbjIQ

sntp/main.c
sntp/sntp.c

index e1bf7c1d89b9c079039b183e20f2299b668209f5..90e9cc947aaa34870560adcb159847a83b9e3445 100644 (file)
@@ -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;
 
index 56c80f31d5796c62ead25f7687e62fcd571aa81c..28101a03f55df8dac39c1772e0e8adcdeeb7e92d 100644 (file)
@@ -1,5 +1,8 @@
 #include "main.h"
 
+char *progname = "sntp";       /* for msyslog */
+volatile int debug;
+
 int 
 main (
        int argc,