aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/ifaddrs.c
diff options
context:
space:
mode:
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)