From 86e054490143ce2d4695cc3456190a2e57792808 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 20 Apr 2006 06:27:35 +0000 Subject: * include/ifaddrs.h: Get uint32_t definition. * posix/tst-rfc3484.c: Update fake __check_pf implementation. * posix/tst-rfc3484-2.c: Likewise. --- posix/tst-rfc3484-2.c | 4 +++- posix/tst-rfc3484.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'posix') 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) -- cgit v1.2.3-70-g09d2