Browse Source

inet: hide relocations

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 12 years ago
parent
commit
fbe324024d
2 changed files with 4 additions and 1 deletions
  1. 2 0
      include/ifaddrs.h
  2. 2 1
      libc/inet/ifaddrs.c

+ 2 - 0
include/ifaddrs.h

@@ -65,9 +65,11 @@ struct ifaddrs
    The storage returned in *IFAP is allocated dynamically and can
    only be properly freed by passing it to `freeifaddrs'.  */
 extern int getifaddrs (struct ifaddrs **__ifap) __THROW;
+libc_hidden_proto(getifaddrs)
 
 /* Reclaim the storage allocated by a previous `getifaddrs' call.  */
 extern void freeifaddrs (struct ifaddrs *__ifa)  __THROW;
+libc_hidden_proto(freeifaddrs)
 
 __END_DECLS
 

+ 2 - 1
libc/inet/ifaddrs.c

@@ -845,13 +845,14 @@ getifaddrs (struct ifaddrs **ifap)
 
   return result;
 }
-
+libc_hidden_def(getifaddrs)
 
 void
 freeifaddrs (struct ifaddrs *ifa)
 {
   free (ifa);
 }
+libc_hidden_def(freeifaddrs)
 
 #endif /* __UCLIBC_SUPPORT_AI_ADDRCONFIG__ */