From 2588068bdf891c057443ecfee136fb1bcfc3bf38 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 28 May 2000 19:32:08 +0000 Subject: [PATCH] Update. 2000-05-28 Ulrich Drepper * resolv/inet_pton.c: Loose __P. --- ChangeLog | 4 ++++ NEWS | 9 ++++++--- resolv/inet_pton.c | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 85df437a13..e161921ff1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-05-28 Ulrich Drepper + + * resolv/inet_pton.c: Loose __P. + 2000-05-21 Jakub Jelinek * libio/libioP.h (_IO_CHECK_WIDE): Define. diff --git a/NEWS b/NEWS index 68f896e6a5..79440c6a29 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -GNU C Library NEWS -- history of user-visible changes. 2000-01-02 +GNU C Library NEWS -- history of user-visible changes. 2000-05-28 Copyright (C) 1992-1999, 2000 Free Software Foundation, Inc. See the end for copying conditions. @@ -23,8 +23,11 @@ Version 2.2 * ldconfig program added by Andreas Jaeger and Jakub Jelinek. * The resolver code has been updated from bind 8.2.2-5 which supports - threads. No changes should be necessary for user programs. The - integration was done by Andreas Jaeger and Adam D. Bradley. + threads. The integration was done by Andreas Jaeger and Adam D. Bradley. + + This change could in some situations effect backward compatibility. Since + now `_res' is a thread-local instead of a global variable, modifying it + in one thread does not have any effect in other threads. * Compatibility code for K&R C compilers has been removed from the header files. A ISO C compiler is needed to use the library diff --git a/resolv/inet_pton.c b/resolv/inet_pton.c index e1419b96b4..4dcbad95c4 100644 --- a/resolv/inet_pton.c +++ b/resolv/inet_pton.c @@ -34,8 +34,8 @@ static char rcsid[] = "$Id$"; * sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX. */ -static int inet_pton4 __P((const char *src, u_char *dst)) internal_function; -static int inet_pton6 __P((const char *src, u_char *dst)) internal_function; +static int inet_pton4 (const char *src, u_char *dst) internal_function; +static int inet_pton6 (const char *src, u_char *dst) internal_function; /* int * inet_pton(af, src, dst) -- 2.11.4.GIT