chiark
/
gitweb
/
~mdw
/
yaid
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79805e6
)
linux.c: Mark `get_default_gw' as static.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 20 Oct 2012 12:55:30 +0000
(13:55 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/linux.c
b/linux.c
index 4954cf96371381e5e77d5bf25960a859dfafe140..b0db5f1c19c251120f2976e0782ba55c0a7e5dd2 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];