mirror of
https://git.busybox.net/uClibc
synced 2025-05-08 23:02:28 +08:00
inet: hide relocations
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
parent
5a2b42a483
commit
fbe324024d
@ -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
|
||||
|
||||
|
@ -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__ */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user