From f0f7d65f25ca91b331f07c453b4b33906d45ba9b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 30 Jan 2017 10:46:56 +0100 Subject: nrparms: Make several functions and variables static. Signed-off-by: Ralf Baechle --- netrom/nrparms.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'netrom') 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 #include -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; -- cgit v1.2.3