diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-04-16 19:39:00 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-04-16 19:39:00 +0000 |
commit | 14f5c8d764ab7429367feb407ab86191054e6a8a (patch) | |
tree | 2aa792b8a9d8f7af365c456f19f34a963236c26d /networking/arping.c | |
parent | a77b4f39708306d44058d7ca1683f448f51c5fce (diff) | |
download | busybox-w32-14f5c8d764ab7429367feb407ab86191054e6a8a.tar.gz busybox-w32-14f5c8d764ab7429367feb407ab86191054e6a8a.tar.bz2 busybox-w32-14f5c8d764ab7429367feb407ab86191054e6a8a.zip |
Patch from Bernhard Fischer to make a bunch of symbols static
which were otherwise cluttering the global namespace.
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; |