]> The Tcpdump Group git mirrors - libpcap/commitdiff
Get rid of a redundant #endif/#ifndef pair.
authorGuy Harris <[email protected]>
Mon, 2 Apr 2018 04:08:45 +0000 (21:08 -0700)
committerGuy Harris <[email protected]>
Mon, 2 Apr 2018 04:08:45 +0000 (21:08 -0700)
That makes it

#ifdef _WIN32
Windows-only stuff
#else
UN*X-only stuff
#endif

rpcapd/rpcapd.c

index c6e34285d16737ef0f5ab558ed6980472c126a67..8c1ca3eefd430793bada1e7497e1cfd2019383af 100755 (executable)
@@ -710,9 +710,7 @@ static void main_reread_config(int sign)
        //
        reread_config = 1;
 }
-#endif
 
-#ifndef _WIN32
 static void main_reap_children(int sign)
 {
        pid_t pid;