diff options
author | alfred <alfred@FreeBSD.org> | 2002-02-05 23:43:43 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-02-05 23:43:43 +0000 |
commit | 568956257500195a80a63ba67f283e98c05c43c1 (patch) | |
tree | ca23ccb17e63c2c0a7eeb6827d3211f8f37a1089 /lib/libc/net | |
parent | fbd5ea601d57ce0f9ffdf4197a2613cb7cbc8fe2 (diff) | |
download | FreeBSD-src-568956257500195a80a63ba67f283e98c05c43c1.zip FreeBSD-src-568956257500195a80a63ba67f283e98c05c43c1.tar.gz |
Fix cc -Wall, fix rcsid warnings, add missing prototypes,
change prototypes to be the same as in the original sun tirpc code.
Remove ()P macro in a file where the mayority had ()P already removed.
Add them if the mayority use ()P macros.
Submitted by: mbr
Requested by: bde
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/getaddrinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index d98aba4e..dbfb888 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -91,6 +91,9 @@ #include <netinet/in.h> #include <arpa/inet.h> #include <arpa/nameser.h> +#include <rpc/rpc.h> +#include <rpcsvc/yp_prot.h> +#include <rpcsvc/ypclnt.h> #include <netdb.h> #include <resolv.h> #include <string.h> @@ -245,6 +248,7 @@ static int _files_getaddrinfo __P((void *, void *, va_list)); #ifdef YP static struct addrinfo *_yphostent __P((char *, const struct addrinfo *)); static int _yp_getaddrinfo __P((void *, void *, va_list)); +extern int _yp_check __P(char **)); #endif static int res_queryN __P((const char *, struct res_target *)); |