From cb98a0d22e6a4de370cdd90ff599d8c24be4fa8f Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 30 Jan 2017 10:43:58 +0100 Subject: rsattach: Make several functions and variables static. Signed-off-by: Ralf Baechle --- rose/rsattach.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rose') 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]; -- cgit v1.2.3