apply hidden visibility to stdio internals
[musl.git] / src / network / gethostbyname.c
blobbfedf52ad65bfc6fb1b1c3304c67d9049aa584aa
1 #define _GNU_SOURCE
3 #include <sys/socket.h>
4 #include <netdb.h>
5 #include <string.h>
6 #include <netinet/in.h>
8 struct hostent *gethostbyname(const char *name)
10 return gethostbyname2(name, AF_INET);