summary refs log tree commit diff
path: root/sysdeps/gnu/ifaddrs.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-24 23:45:17 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-24 23:45:17 +0000
commit925c3c5c71596c02f7e58a0ffcdcaae44eb065c1 (patch)
tree1ac5199106016db86039f88269b97bdb1435ce24 /sysdeps/gnu/ifaddrs.c
parentff479b9b9a6d8524214e4e86df8a20663c4b95ff (diff)
downloadglibc-925c3c5c71596c02f7e58a0ffcdcaae44eb065c1.tar.gz
glibc-925c3c5c71596c02f7e58a0ffcdcaae44eb065c1.tar.xz
glibc-925c3c5c71596c02f7e58a0ffcdcaae44eb065c1.zip
Update.
2003-04-24  Ulrich Drepper  <drepper@redhat.com>

	* 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.
Diffstat (limited to 'sysdeps/gnu/ifaddrs.c')
-rw-r--r--sysdeps/gnu/ifaddrs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/gnu/ifaddrs.c b/sysdeps/gnu/ifaddrs.c
index 6ecc457e50..5bc3224bea 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)