From 925c3c5c71596c02f7e58a0ffcdcaae44eb065c1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 24 Apr 2003 23:45:17 +0000 Subject: Update. 2003-04-24 Ulrich Drepper * include/ifaddrs.h: New file. * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG... * resolv/netdb.h: ...here. * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG. --- sysdeps/gnu/ifaddrs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysdeps/gnu/ifaddrs.c') diff --git a/sysdeps/gnu/ifaddrs.c b/sysdeps/gnu/ifaddrs.c index 6ecc457..5bc3224 100644 --- a/sysdeps/gnu/ifaddrs.c +++ b/sysdeps/gnu/ifaddrs.c @@ -1,5 +1,5 @@ /* getifaddrs -- get names and addresses of all network interfaces - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -151,9 +151,13 @@ getifaddrs (struct ifaddrs **ifap) return 0; } +#ifndef getifaddrs +libc_hidden_def (getifaddrs) +#endif void freeifaddrs (struct ifaddrs *ifa) { free (ifa); } +libc_hidden_def (freeifaddrs) -- cgit v1.1