diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | nscd/gethstbynm2_r.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index cfb56f59d5..9fcc7c8d03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ * misc/regexp.c (__step): Use __regexec instead of regexec. (__advance): Likewise. * nss/digits_dots.c: Use __inet_aton instead of inet_aton. + * nscd/gethstbynm2_r.c (__inet_aton): Define as inet_aton since + the former is not exported. * misc/daemon.c (daemon): Use __fork instead of fork. * stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make diff --git a/nscd/gethstbynm2_r.c b/nscd/gethstbynm2_r.c index b9b3a7149f..c6b8ac9622 100644 --- a/nscd/gethstbynm2_r.c +++ b/nscd/gethstbynm2_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -36,4 +36,6 @@ #define HAVE_LOOKUP_BUFFER 1 #define HAVE_AF 1 +#define __inet_aton inet_aton + #include "../nss/getXXbyYY_r.c" |