Browse Source

hide internal _net_stayopen symbol

Mike Frysinger 19 years ago
parent
commit
07122faf10
3 changed files with 3 additions and 3 deletions
  1. 1 1
      libc/inet/getnetbyad.c
  2. 1 1
      libc/inet/getnetbynm.c
  3. 1 1
      libc/inet/getnetent.c

+ 1 - 1
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)
 {

+ 1 - 1
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)

+ 1 - 1
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)
 {