summaryrefslogtreecommitdiffstats
path: root/rose
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-30 10:43:58 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-02-06 23:43:46 +0100
commitcb98a0d22e6a4de370cdd90ff599d8c24be4fa8f (patch)
tree659828e316fae358587f99d89c7b9143ee15f341 /rose
parente427e298fe2cf90877e27b8fef52c69c8e655239 (diff)
rsattach: Make several functions and variables static.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'rose')
-rw-r--r--rose/rsattach.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rose/rsattach.c b/rose/rsattach.c
index 8523962..f91935e 100644
--- a/rose/rsattach.c
+++ b/rose/rsattach.c
@@ -29,10 +29,10 @@
#include "../pathnames.h"
-char *address;
-int mtu = 128;
+static char *address;
+static int mtu = 128;
-int readconfig(char *port)
+static int readconfig(char *port)
{
FILE *fp;
char buffer[90], *s;
@@ -79,7 +79,7 @@ int readconfig(char *port)
return FALSE;
}
-int getfreedev(char *dev)
+static int getfreedev(char *dev)
{
struct ifreq ifr;
int fd;
@@ -110,7 +110,7 @@ int getfreedev(char *dev)
return FALSE;
}
-int startiface(char *dev, struct hostent *hp)
+static int startiface(char *dev, struct hostent *hp)
{
struct ifreq ifr;
char addr[5];