linux.c: Mark `get_default_gw' as static.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 20 Oct 2012 12:55:30 +0000 (13:55 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 21 Oct 2012 15:08:58 +0000 (16:08 +0100)
Nothing outside needs to know about it any more.

linux.c

diff --git a/linux.c b/linux.c
index 4954cf9..b0db5f1 100644 (file)
--- a/linux.c
+++ b/linux.c
@@ -78,7 +78,7 @@ ADDRTYPES(DEFOPSYS)
 
 /*----- Main code ---------------------------------------------------------*/
 
-int get_default_gw(int af, union addr *a)
+static int get_default_gw(int af, union addr *a)
 {
   int fd;
   char buf[32768];