diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-04-16 23:39:00 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-04-16 23:39:00 +0400 |
commit | 14f5c8d764ab7429367feb407ab86191054e6a8a (patch) | |
tree | 2aa792b8a9d8f7af365c456f19f34a963236c26d /networking/arping.c | |
parent | a77b4f39708306d44058d7ca1683f448f51c5fce (diff) |
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, return err; } -void finish(void) +static void finish(void) { if (!quiet) { printf("Sent %d probes (%d broadcast(s))\n", sent, brd_sent); @@ -129,7 +129,7 @@ void finish(void) exit(!received); } -void catcher(void) +static void catcher(void) { struct timeval tv; static struct timeval start; @@ -151,7 +151,7 @@ void catcher(void) alarm(1); } -int recv_pack(unsigned char *buf, int len, struct sockaddr_ll *FROM) +static int recv_pack(unsigned char *buf, int len, struct sockaddr_ll *FROM) { struct timeval tv; struct arphdr *ah = (struct arphdr *) buf; |