summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 11:23:12 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 11:23:12 +0000
commit07122faf105b671e28a1e5208ebfd46aab3445bd (patch)
tree9a2a2bb04e918a973a96aaff97436897930d7405
parent8dfcc8ad326fe995a33671318809ff4c522fcb3e (diff)
hide internal _net_stayopen symbol
-rw-r--r--libc/inet/getnetbyad.c2
-rw-r--r--libc/inet/getnetbynm.c2
-rw-r--r--libc/inet/getnetent.c2
3 files changed, 3 insertions, 3 deletions
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 <features.h>
#include <netdb.h>
-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 <netdb.h>
#include <string.h>
-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)
{