From: Frank Kardel Date: Fri, 2 Aug 2013 06:08:47 +0000 (+0000) Subject: ChangeLog ntp_io.c: X-Git-Tag: NTP_4_2_7P379~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd7030daaa35710dc806dc5c6f5535204e05d6cd;p=thirdparty%2Fntp.git ChangeLog ntp_io.c: [Bug 2425] compile io_handler() in ntp_io.c unconditionally bk: 51fb4cefMVZaomy_3pdfk62gEVBqXA --- diff --git a/ChangeLog b/ChangeLog index cf12b292c..2a38f0377 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 2425] compile io_handler() in ntp_io.c unconditionally * [Bug 2448] Fix checks for configure --with-stack-limit and --with-memlock values. (4.2.7p378) 2013/08/01 Released by Harlan Stenn diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index 5bbbeb758..58adc20a1 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -4620,6 +4620,13 @@ init_async_notifications() "Listening on routing socket on fd #%d for interface updates", fd); } +#else +/* HAS_ROUTING_SOCKET not defined */ +static void +init_async_notifications(void) +{ +} +#endif void io_handler(void) @@ -4682,11 +4689,3 @@ io_handler(void) # endif /* HAVE_SIGNALED_IO */ } - -#else -/* HAS_ROUTING_SOCKET not defined */ -static void -init_async_notifications(void) -{ -} -#endif