diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-30 10:46:56 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-02-06 23:43:46 +0100 |
commit | f0f7d65f25ca91b331f07c453b4b33906d45ba9b (patch) | |
tree | f118b31b6d4a00b719dfdef3d47307c709d5d477 | |
parent | cb98a0d22e6a4de370cdd90ff599d8c24be4fa8f (diff) |
nrparms: Make several functions and variables static.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | netrom/nrparms.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/netrom/nrparms.c b/netrom/nrparms.c index fd06eb1..5583dd8 100644 --- a/netrom/nrparms.c +++ b/netrom/nrparms.c @@ -19,10 +19,13 @@ #include <netax25/axconfig.h> #include <netax25/nrconfig.h> -char nodes_usage[] = "usage: nrparms -nodes nodecall +|- ident quality count port neighbour [digicall...]\n"; -char routes_usage[] = "usage: nrparms -routes port nodecall [digicall...] +|- pathquality\n"; +static char nodes_usage[] = "usage: nrparms -nodes nodecall +|- " + "ident quality count port neighbour [digicall...]\n"; +static char routes_usage[] = "usage: nrparms -routes port nodecall " + "[digicall...] +|- pathquality\n"; -void nodes(int s, char *nodecall, char *op, char *ident, int quality, int count, char *port, char *neighbour, char *digis[]) +static void nodes(int s, char *nodecall, char *op, char *ident, int quality, + int count, char *port, char *neighbour, char *digis[]) { struct nr_route_struct nr_node; char *p, *q, *dev; @@ -121,7 +124,7 @@ void nodes(int s, char *nodecall, char *op, char *ident, int quality, int count, } } -void routes(int s, char *port, char *nodecall, char *rest[]) +static void routes(int s, char *port, char *nodecall, char *rest[]) { struct nr_route_struct nr_neigh; char *dev, *op; |