diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-30 11:05:50 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-02-06 23:43:46 +0100 |
commit | eef33ed04b50313efc15d0be9ba9881d1b4e220e (patch) | |
tree | cba5218286623552f42786dbb2265df99aa19f4c /ax25 | |
parent | a3d37e77b26dddbe7e86ae0e50ccc8f4361656e8 (diff) |
bpqparms: Make functions usage and get_hwaddr static.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25')
-rw-r--r-- | ax25/bpqparms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ax25/bpqparms.c b/ax25/bpqparms.c index a29bd6a..225f111 100644 --- a/ax25/bpqparms.c +++ b/ax25/bpqparms.c @@ -36,7 +36,7 @@ #include <config.h> #include <scm-version.h> -void usage(void) +static void usage(void) { fprintf(stderr, "usage : bpqparms dev -d address [-a address]\n"); fprintf(stderr, "examples: bpqparms bpq0 -d 00:80:AD:1B:05:26\n"); @@ -44,7 +44,7 @@ void usage(void) exit(1); } -int get_hwaddr(unsigned char *k, char *s) +static int get_hwaddr(unsigned char *k, char *s) { unsigned char broadcast[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; unsigned int eth[ETH_ALEN]; |