diff options
author | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-07-01 18:59:54 +0400 |
---|---|---|
committer | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-07-01 18:59:54 +0400 |
commit | d35ef0f66643f2bc43bd7070df0356e0b064b755 (patch) | |
tree | 5aa3ba477deef2545a65b9cd33e316fcb0496044 /networking/arping.c | |
parent | edd9ca574327205933f23205d7051f613e46b23b (diff) |
More removal of "#if 0" content.
Diffstat (limited to 'networking/arping.c')
-rw-r--r-- | networking/arping.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/networking/arping.c b/networking/arping.c index e12fa508b..6cb607612 100644 --- a/networking/arping.c +++ b/networking/arping.c @@ -52,18 +52,6 @@ static int req_recv; #define MS_TDIFF(tv1,tv2) ( ((tv1).tv_sec-(tv2).tv_sec)*1000 + \ ((tv1).tv_usec-(tv2).tv_usec)/1000 ) -#if 0 -static void set_signal(int signo, void (*handler) (void)) -{ - struct sigaction sa; - - memset(&sa, 0, sizeof(sa)); - sa.sa_handler = (void (*)(int)) handler; - sa.sa_flags = SA_RESTART; - sigaction(signo, &sa, NULL); -} -#endif - static int send_pack(int sock, struct in_addr *src_addr, struct in_addr *dst_addr, struct sockaddr_ll *ME, struct sockaddr_ll *HE) |