diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 15:49:30 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 15:49:30 +0000 |
commit | e14d51045326808a48d43d7e0b45860cd33e2b17 (patch) | |
tree | 90b47e500bf7b1ccffae92fc2105cea5b8b7b61f /include/ifaddrs.h | |
parent | c949e9c224c0fc890982cc42797ae868b04faa00 (diff) | |
parent | 963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff) |
Merge commit 'refs/top-bases/t/context_functions' into t/context_functions
Diffstat (limited to 'include/ifaddrs.h')
-rw-r--r-- | include/ifaddrs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ifaddrs.h b/include/ifaddrs.h index 2787f21115..416118f1b3 100644 --- a/include/ifaddrs.h +++ b/include/ifaddrs.h @@ -1,11 +1,19 @@ #ifndef _IFADDRS_H #include <inet/ifaddrs.h> + +# ifndef _ISOMAC + #include <stdbool.h> #include <stdint.h> libc_hidden_proto (getifaddrs) libc_hidden_proto (freeifaddrs) +extern int __getifaddrs (struct ifaddrs **__ifap); +libc_hidden_proto (__getifaddrs) +extern void __freeifaddrs (struct ifaddrs *__ifa); +libc_hidden_proto (__freeifaddrs) + struct in6addrinfo { enum { @@ -30,4 +38,5 @@ extern void __check_native (uint32_t a1_index, int *a1_native, extern uint32_t __bump_nl_timestamp (void) attribute_hidden; #endif +# endif /* !_ISOMAC */ #endif /* ifaddrs.h */ |