mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
prototypes are now in netdb.h
This commit is contained in:
@@ -2,12 +2,7 @@
|
|||||||
#include <lwres/netdb.h>
|
#include <lwres/netdb.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
struct hostent *
|
static struct hostent *he = NULL;
|
||||||
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;
|
|
||||||
|
|
||||||
struct hostent *
|
struct hostent *
|
||||||
gethostbyname(const char *name) {
|
gethostbyname(const char *name) {
|
||||||
|
Reference in New Issue
Block a user