diff options
Diffstat (limited to 'networking/arping.c')
-rw-r--r-- | networking/arping.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/arping.c b/networking/arping.c index 7279e8653..95ca1ed2e 100644 --- a/networking/arping.c +++ b/networking/arping.c | |||
@@ -106,7 +106,7 @@ static int send_pack(int sock, struct in_addr *src_addr, | |||
106 | return err; | 106 | return err; |
107 | } | 107 | } |
108 | 108 | ||
109 | void finish(void) | 109 | static void finish(void) |
110 | { | 110 | { |
111 | if (!quiet) { | 111 | if (!quiet) { |
112 | printf("Sent %d probes (%d broadcast(s))\n", sent, brd_sent); | 112 | printf("Sent %d probes (%d broadcast(s))\n", sent, brd_sent); |
@@ -129,7 +129,7 @@ void finish(void) | |||
129 | exit(!received); | 129 | exit(!received); |
130 | } | 130 | } |
131 | 131 | ||
132 | void catcher(void) | 132 | static void catcher(void) |
133 | { | 133 | { |
134 | struct timeval tv; | 134 | struct timeval tv; |
135 | static struct timeval start; | 135 | static struct timeval start; |
@@ -151,7 +151,7 @@ void catcher(void) | |||
151 | alarm(1); | 151 | alarm(1); |
152 | } | 152 | } |
153 | 153 | ||
154 | int recv_pack(unsigned char *buf, int len, struct sockaddr_ll *FROM) | 154 | static int recv_pack(unsigned char *buf, int len, struct sockaddr_ll *FROM) |
155 | { | 155 | { |
156 | struct timeval tv; | 156 | struct timeval tv; |
157 | struct arphdr *ah = (struct arphdr *) buf; | 157 | struct arphdr *ah = (struct arphdr *) buf; |