From: Harlan Stenn Date: Sat, 27 Aug 2022 09:27:52 +0000 (-0500) Subject: sntp.c, main.c: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b383eed8b2bc8aeb96bf5d4504cb9bdf0ac58ef6;p=thirdparty%2Fntp.git sntp.c, main.c: Bug 3688 (-fno-common) fixes bk: 6309e398TI2biMJEdkRIEQAXc_MUfQ --- diff --git a/sntp/main.c b/sntp/main.c index 0486196b3..08064a6c0 100644 --- a/sntp/main.c +++ b/sntp/main.c @@ -20,7 +20,7 @@ #include "log.h" #include "libntp.h" -extern const char * progname; +extern const char *progname; int shutting_down; int time_derived; diff --git a/sntp/sntp.c b/sntp/sntp.c index 2e3bfecb3..c83e05af8 100644 --- a/sntp/sntp.c +++ b/sntp/sntp.c @@ -2,6 +2,8 @@ #include "main.h" +const char * progname; + int main ( int argc,