* include/ifaddrs.h: Get uint32_t definition.
authorUlrich Drepper <drepper@redhat.com>
Thu, 20 Apr 2006 06:27:35 +0000 (06:27 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 20 Apr 2006 06:27:35 +0000 (06:27 +0000)
* posix/tst-rfc3484.c: Update fake __check_pf implementation.
* posix/tst-rfc3484-2.c: Likewise.

ChangeLog
include/ifaddrs.h
posix/tst-rfc3484-2.c
posix/tst-rfc3484.c

index 0df97fd..6927f6f 100644 (file)
--- 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
index d41547a..d790fcb 100644 (file)
@@ -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)
index e2800b4..b3987c8 100644 (file)
 
 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)
index 378e43a..abfb76d 100644 (file)
 
 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)