From: Harlan Stenn Date: Fri, 14 Aug 2015 08:24:21 +0000 (+0000) Subject: Unity test cleanup: move declaration of 'initializing'. Harlan Stenn. X-Git-Tag: NTP_4_3_72~2^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=587a9adec3ba064a54d4fa674f626b9dfc0159ad;p=thirdparty%2Fntp.git Unity test cleanup: move declaration of 'initializing'. Harlan Stenn. bk: 55cda5b5DxdR2Ww2Er9ka9OQ8xXPqw --- diff --git a/ChangeLog b/ChangeLog index 02a5bfbf7..7f3b7ce07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -107,6 +107,7 @@ fixed formatting. Tomasz Flendrich * Updated generate_test_runner.rb and updated the sntp/unity/auto directory with the latest Unity updates from Mark. Damir Tomić. * Retire google test - phase I. Harlan Stenn. +* Unity test cleanup: move declaration of 'initializing'. Harlan Stenn. --- (4.2.8p3) 2015/06/29 Released by Harlan Stenn diff --git a/ntpd/ntp_timer.c b/ntpd/ntp_timer.c index 5cbb892e3..828aa8c27 100644 --- a/ntpd/ntp_timer.c +++ b/ntpd/ntp_timer.c @@ -56,6 +56,12 @@ static void check_leapsec(u_int32, const time_t*, int/*BOOL*/); */ volatile int interface_interval; /* init_io() sets def. 300s */ +/* + * Initializing flag. All async routines watch this and only do their + * thing when it is clear. + */ +int initializing; + /* * Alarm flag. The mainline code imports this. */ diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 766285665..6c4fcc2e6 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -179,12 +179,6 @@ struct passwd *pw; int waitsync_fd_to_close = -1; /* -w/--wait-sync */ #endif -/* - * Initializing flag. All async routines watch this and only do their - * thing when it is clear. - */ -int initializing; - /* * Version declaration */