From 07122faf105b671e28a1e5208ebfd46aab3445bd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 Jan 2006 11:23:12 +0000 Subject: hide internal _net_stayopen symbol --- libc/inet/getnetbyad.c | 2 +- libc/inet/getnetbynm.c | 2 +- libc/inet/getnetent.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/inet') diff --git a/libc/inet/getnetbyad.c b/libc/inet/getnetbyad.c index a257a1bd7..f0c661faa 100644 --- a/libc/inet/getnetbyad.c +++ b/libc/inet/getnetbyad.c @@ -23,7 +23,7 @@ #include #include -extern int _net_stayopen; +extern int _net_stayopen attribute_hidden; struct netent *getnetbyaddr (uint32_t net, int type) { diff --git a/libc/inet/getnetbynm.c b/libc/inet/getnetbynm.c index f4e9b817e..ef3d06137 100644 --- a/libc/inet/getnetbynm.c +++ b/libc/inet/getnetbynm.c @@ -24,7 +24,7 @@ #include #include -extern int _net_stayopen; +extern int _net_stayopen attribute_hidden; struct netent * getnetbyname(const char *name) diff --git a/libc/inet/getnetent.c b/libc/inet/getnetent.c index cd5f63ad5..77ecc4275 100644 --- a/libc/inet/getnetent.c +++ b/libc/inet/getnetent.c @@ -43,7 +43,7 @@ static char *line = NULL; static struct netent net; static char *net_aliases[MAXALIASES]; -int _net_stayopen; +int _net_stayopen attribute_hidden; void attribute_hidden __setnetent(int f) { -- cgit v1.2.3