about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-20 06:27:35 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-20 06:27:35 +0000
commit86e054490143ce2d4695cc3456190a2e57792808 (patch)
tree35f28df14bb4051e58e27d300ff020edf6f00fd0
parentf9d07577ce74d2f3da0e091940214ad16efbf3c0 (diff)
downloadglibc-86e054490143ce2d4695cc3456190a2e57792808.tar.gz
glibc-86e054490143ce2d4695cc3456190a2e57792808.tar.xz
glibc-86e054490143ce2d4695cc3456190a2e57792808.zip
* include/ifaddrs.h: Get uint32_t definition.
	* posix/tst-rfc3484.c: Update fake __check_pf implementation.
	* posix/tst-rfc3484-2.c: Likewise.
-rw-r--r--ChangeLog4
-rw-r--r--include/ifaddrs.h1
-rw-r--r--posix/tst-rfc3484-2.c4
-rw-r--r--posix/tst-rfc3484.c4
4 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0df97fdc36..6927f6f7c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-04-19  Ulrich Drepper  <drepper@redhat.com>
 
+	* include/ifaddrs.h: Get uint32_t definition.
+	* posix/tst-rfc3484.c: Update fake __check_pf implementation.
+	* posix/tst-rfc3484-2.c: Likewise.
+
 	* sysdeps/unix/sysv/linux/kernel-features.h: Define
 	__ASSUME_PROC_SELF_FD_SYMLINK.
 	* sysdeps/unix/sysv/linux/ttyname.c: Cleanups.  Avoid compatibility
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
index d41547a743..d790fcbe87 100644
--- a/include/ifaddrs.h
+++ b/include/ifaddrs.h
@@ -1,6 +1,7 @@
 #ifndef _IFADDRS_H
 #include <inet/ifaddrs.h>
 #include <stdbool.h>
+#include <stdint.h>
 
 libc_hidden_proto (getifaddrs)
 libc_hidden_proto (freeifaddrs)
diff --git a/posix/tst-rfc3484-2.c b/posix/tst-rfc3484-2.c
index e2800b48c6..b3987c8cd5 100644
--- a/posix/tst-rfc3484-2.c
+++ b/posix/tst-rfc3484-2.c
@@ -11,9 +11,11 @@
 
 void
 attribute_hidden
-__check_pf (bool *p1, bool *p2)
+__check_pf (bool *p1, bool *p2, struct in6addrinfo **in6ai, size_t *in6ailen)
 {
   *p1 = *p2 = true;
+  *in6ai = NULL;
+  *in6ailen = 0;
 }
 int
 __idna_to_ascii_lz (const char *input, char **output, int flags)
diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c
index 378e43a011..abfb76d543 100644
--- a/posix/tst-rfc3484.c
+++ b/posix/tst-rfc3484.c
@@ -11,9 +11,11 @@
 
 void
 attribute_hidden
-__check_pf (bool *p1, bool *p2)
+__check_pf (bool *p1, bool *p2, struct in6addrinfo **in6ai, size_t *in6ailen)
 {
   *p1 = *p2 = true;
+  *in6ai = NULL;
+  *in6ailen = 0;
 }
 int
 __idna_to_ascii_lz (const char *input, char **output, int flags)