summaryrefslogtreecommitdiff
path: root/libc/inet/getnetbyad.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/getnetbyad.c')
-rw-r--r--libc/inet/getnetbyad.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/inet/getnetbyad.c b/libc/inet/getnetbyad.c
index f0c661faa..e353f245b 100644
--- a/libc/inet/getnetbyad.c
+++ b/libc/inet/getnetbyad.c
@@ -15,14 +15,14 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define setnetent __setnetent
-#define getnetent __getnetent
-#define endnetent __endnetent
-
#define __FORCE_GLIBC
#include <features.h>
#include <netdb.h>
+libc_hidden_proto(setnetent)
+libc_hidden_proto(getnetent)
+libc_hidden_proto(endnetent)
+
extern int _net_stayopen attribute_hidden;
struct netent *getnetbyaddr (uint32_t net, int type)