summaryrefslogtreecommitdiff
path: root/include/ifaddrs.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-10-20 17:04:37 -0400
committerRich Felker <dalias@aerifal.cx>2016-10-20 17:04:37 -0400
commit2ed4e9d9279117ffa50294095e172804cd1b68e5 (patch)
tree15390dcb1833121aadfe8458563135937aaec3a4 /include/ifaddrs.h
parent4b8f94c2501e6fea3db631b73b0c91e34e2134cf (diff)
downloadmusl-2ed4e9d9279117ffa50294095e172804cd1b68e5.tar.gz
remove parameter names from public headers
inclusion of these names was unintentional and in most cases is a namespace violation. Daniel Sabogal tracked down and reported these.
Diffstat (limited to 'include/ifaddrs.h')
-rw-r--r--include/ifaddrs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
index 4726db6e..c0328a8e 100644
--- a/include/ifaddrs.h
+++ b/include/ifaddrs.h
@@ -24,8 +24,8 @@ 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);
+void freeifaddrs(struct ifaddrs *);
+int getifaddrs(struct ifaddrs **);
#ifdef __cplusplus
}