mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
prototypes are now in netdb.h
This commit is contained in:
@@ -2,12 +2,7 @@
|
||||
#include <lwres/netdb.h>
|
||||
#include <stdio.h>
|
||||
|
||||
struct hostent *
|
||||
getipnodebyname(const char *name, int af, int flags, int *error_num);
|
||||
struct hostent *
|
||||
getipnodebyaddr(const void *src, size_t len, int af, int *error_num);
|
||||
|
||||
static struct hostent *he;
|
||||
static struct hostent *he = NULL;
|
||||
|
||||
struct hostent *
|
||||
gethostbyname(const char *name) {
|
||||
|
Reference in New Issue
Block a user