aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--NEWS9
-rw-r--r--resolv/inet_pton.c4
3 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 85df437..e161921 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-28 Ulrich Drepper <drepper@redhat.com>
+
+ * resolv/inet_pton.c: Loose __P.
+
2000-05-21 Jakub Jelinek <jakub@redhat.com>
* libio/libioP.h (_IO_CHECK_WIDE): Define.
diff --git a/NEWS b/NEWS
index 68f896e..79440c6 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 e1419b9..4dcbad9 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)