summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet')
-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)
{