about summary refs log tree commit diff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-04-05 19:59:40 +0200
committerrofl0r <retnyg@gmx.net>2013-04-05 19:59:40 +0200
commitb3792c8891f4ce4db52129a4f851375a7ab1b2d8 (patch)
tree8af58ed94d1dda04090250312d401572204fefb7
parent202db37a6f2cc43c06467473d9970677f6997ce3 (diff)
downloadmusl-b3792c8891f4ce4db52129a4f851375a7ab1b2d8.tar.gz
musl-b3792c8891f4ce4db52129a4f851375a7ab1b2d8.tar.xz
musl-b3792c8891f4ce4db52129a4f851375a7ab1b2d8.zip
include/ifaddrs.h: add prototypes for get/freeifaddrs
-rw-r--r--include/ifaddrs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
index 96b5ae90..800eef65 100644
--- a/include/ifaddrs.h
+++ b/include/ifaddrs.h
@@ -23,6 +23,9 @@ struct ifaddrs {
 #define ifa_broadaddr ifa_ifu.ifu_broadaddr
 #define ifa_dstaddr ifa_ifu.ifu_dstaddr
 
+void freeifaddrs(struct ifaddrs *ifp);
+int getifaddrs(struct ifaddrs **ifap);
+
 #ifdef __cplusplus
 }
 #endif