summaryrefslogtreecommitdiffstats
path: root/rose
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-30 10:12:55 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-02-06 23:43:46 +0100
commit04672636fdf016894725e14b93b01367447a3534 (patch)
tree5c243f2053e48f170fc0d8e9f24b5ad7f8b872ab /rose
parent8b0a3f86162c5b39ccba5c83a7dde3241f53abaa (diff)
rsparms: Make several functions and variables static.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'rose')
-rw-r--r--rose/rsparms.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/rose/rsparms.c b/rose/rsparms.c
index a617b88..f975070 100644
--- a/rose/rsparms.c
+++ b/rose/rsparms.c
@@ -20,10 +20,11 @@
#include "../pathnames.h"
-char nodes_usage[] = "usage: rsparms -nodes add|del nodeaddr[/mask] port neighbour [digis...]\n rsparms -nodes list\n";
+static char nodes_usage[] = "usage: rsparms -nodes add|del nodeaddr[/mask] "
+ "port neighbour [digis...]\n rsparms -nodes list\n";
/* print the Rose neighbour whose number is supplied */
-void printnb(char *neigh)
+static void printnb(char *neigh)
{
FILE* fp;
char addr[10], callsign[10], port[10], digi[10];
@@ -55,7 +56,7 @@ void printnb(char *neigh)
fclose(fp);
}
-void nodes(int s, int argc, char *argv[])
+static void nodes(int s, int argc, char *argv[])
{
struct rose_route_struct rs_node;
char *dev;