From: Juergen Perlinger Date: Sat, 4 Apr 2020 06:38:06 +0000 (+0200) Subject: [Bug 3659] ntp-4.2.8p14 fails to build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a64096e93e8be148fb7bcce57f809b6a74c6dbf;p=thirdparty%2Fntp.git [Bug 3659] ntp-4.2.8p14 fails to build bk: 5e882b4eAK7oOBXw6o3VvjLozhG2Cg --- diff --git a/ChangeLog b/ChangeLog index 35d5d36c2..63aac86d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +--- +* [Bug 3659] ntp-4.2.8p14 fails to build + --- (4.2.8p14) 2020/03/03 Released by Harlan Stenn diff --git a/include/ntp_config.h b/include/ntp_config.h index b41446693..53546df8d 100644 --- a/include/ntp_config.h +++ b/include/ntp_config.h @@ -276,16 +276,6 @@ typedef struct settrap_parms_tag { } settrap_parms; -/* - * Poll Skew List - */ - -psl_item psl[17-3+1]; /* values for polls 3-17 */ - /* To simplify the runtime code we */ - /* don't want to have to special-case */ - /* dealing with a default */ - - /* ** Data Minimization Items */ diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c index ee9df318a..cdc391c1b 100644 --- a/ntpd/ntp_config.c +++ b/ntpd/ntp_config.c @@ -136,6 +136,16 @@ typedef struct peer_resolved_ctx_tag { #define MAXPHONE 10 /* maximum number of phone strings */ #define MAXPPS 20 /* maximum length of PPS device string */ +/* + * Poll Skew List + */ + +static psl_item psl[17-3+1]; /* values for polls 3-17 */ + /* To simplify the runtime code we */ + /* don't want to have to special-case */ + /* dealing with a default */ + + /* * Miscellaneous macros */