chiark
/
gitweb
/
~mdw
/
yaid
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ident.c, yaid.c, yaid.h: Make `get_default_gw' be internal to `ident.c'.
[yaid]
/
ident.c
diff --git
a/ident.c
b/ident.c
index ae3cf13339f471653e8fe44be8f8079b18997fa9..91c03aac4529155597785199fcb7a691deef88a6 100644
(file)
--- a/
ident.c
+++ b/
ident.c
@@
-85,7
+85,7
@@
static int sockeq(const struct addrfamily *af,
const struct socket *sa, const struct socket *sb)
{ return (af->addreq(&sa->addr, &sb->addr) && sa->port == sb->port); }
-int get_default_gw(int af, union addr *a)
+
static
int get_default_gw(int af, union addr *a)
{
int fd;
char buf[32768];