mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
2.5-18.1
This commit is contained in:
@ -51,7 +51,6 @@
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93";
|
||||
static char rcsid[] = "$Id$";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -177,11 +176,7 @@ Dprintf(msg, num)
|
||||
|
||||
|
||||
static struct hostent *
|
||||
getanswer(answer, anslen, qname, qtype)
|
||||
const querybuf *answer;
|
||||
int anslen;
|
||||
const char *qname;
|
||||
int qtype;
|
||||
getanswer (const querybuf *answer, int anslen, const char *qname, int qtype)
|
||||
{
|
||||
register const HEADER *hp;
|
||||
register const u_char *cp;
|
||||
@ -523,7 +518,6 @@ gethostbyname2(name, af)
|
||||
char *bp;
|
||||
int n, size, type, len;
|
||||
struct hostent *ret;
|
||||
extern struct hostent *_gethtbyname2();
|
||||
|
||||
if (__res_maybe_init (&_res, 0) == -1) {
|
||||
__set_h_errno (NETDB_INTERNAL);
|
||||
@ -667,7 +661,6 @@ gethostbyaddr(addr, len, af)
|
||||
u_long old_options;
|
||||
char hname2[MAXDNAME+1];
|
||||
#endif /*SUNSECURITY*/
|
||||
extern struct hostent *_gethtbyaddr();
|
||||
|
||||
if (__res_maybe_init (&_res, 0) == -1) {
|
||||
__set_h_errno (NETDB_INTERNAL);
|
||||
@ -880,7 +873,6 @@ struct hostent *
|
||||
_gethtbyname(name)
|
||||
const char *name;
|
||||
{
|
||||
extern struct hostent *_gethtbyname2();
|
||||
struct hostent *hp;
|
||||
|
||||
if (_res.options & RES_USE_INET6) {
|
||||
|
Reference in New Issue
Block a user