]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ntp_io.c lint removal
authorHarlan Stenn <stenn@ntp.org>
Thu, 18 Dec 2014 01:17:02 +0000 (01:17 +0000)
committerHarlan Stenn <stenn@ntp.org>
Thu, 18 Dec 2014 01:17:02 +0000 (01:17 +0000)
bk: 54922b0ew3zcm51thuxjM6e3_2YqYA

ntpd/ntp_io.c

index 0f335ea2c2a19bdf18dff59bdea77461c6a714a5..eb61ead577fa5bc59eba1391058256617d3fd736 100644 (file)
@@ -269,7 +269,9 @@ static      SOCKET  open_socket     (sockaddr_u *, int, int, endpt *);
 static char *  fdbits          (int, fd_set *);
 static void    set_reuseaddr   (int);
 static isc_boolean_t   socket_broadcast_enable  (struct interface *, SOCKET, sockaddr_u *);
+#ifdef  OS_MISSES_SPECIFIC_ROUTE_UPDATES
 static isc_boolean_t   socket_broadcast_disable (struct interface *, sockaddr_u *);
+#endif
 
 typedef struct remaddr remaddr_t;
 
@@ -714,7 +716,6 @@ is_ip_address(
        )
 {
        struct in_addr in4;
-       struct in6_addr in6;
        struct addrinfo hints;
        struct addrinfo *result;
        struct sockaddr_in6 *resaddr6;
@@ -2232,6 +2233,7 @@ socket_broadcast_enable(
 #endif /* SO_BROADCAST */
 }
 
+#ifdef  OS_MISSES_SPECIFIC_ROUTE_UPDATES
 /*
  * Remove a broadcast address from a given socket
  * The socket is in the ep_list all we need to do is disable
@@ -2258,6 +2260,7 @@ socket_broadcast_disable(
        return ISC_FALSE;
 #endif /* SO_BROADCAST */
 }
+#endif /* OS_MISSES_SPECIFIC_ROUTE_UPDATES */
 
 #endif /* OPEN_BCAST_SOCKET */