summaryrefslogtreecommitdiff
path: root/networking/arping.c
diff options
context:
space:
mode:
author"Robert P. J. Day"2006-07-01 14:59:54 +0000
committer"Robert P. J. Day"2006-07-01 14:59:54 +0000
commitd35ef0f66643f2bc43bd7070df0356e0b064b755 (patch)
tree5aa3ba477deef2545a65b9cd33e316fcb0496044 /networking/arping.c
parentedd9ca574327205933f23205d7051f613e46b23b (diff)
downloadbusybox-d35ef0f66643f2bc43bd7070df0356e0b064b755.zip
busybox-d35ef0f66643f2bc43bd7070df0356e0b064b755.tar.gz
More removal of "#if 0" content.
Diffstat (limited to 'networking/arping.c')
-rw-r--r--networking/arping.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/networking/arping.c b/networking/arping.c
index e12fa50..6cb6076 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)