summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-20 02:44:52 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-20 02:44:52 -0500
commitd6a1e0c79e84e6f13cd567b6401e0de1f9b5d4bb (patch)
tree1fbb2b99db069763d193daf6d6f0d6198a430e71 /include
parent855df698c49610696c562979790381414243c63c (diff)
downloadmusl-d6a1e0c79e84e6f13cd567b6401e0de1f9b5d4bb.tar.gz
musl-d6a1e0c79e84e6f13cd567b6401e0de1f9b5d4bb.tar.bz2
musl-d6a1e0c79e84e6f13cd567b6401e0de1f9b5d4bb.tar.xz
musl-d6a1e0c79e84e6f13cd567b6401e0de1f9b5d4bb.zip
resolve some header namespace non-issues
after re-reading 2.2.2 of POSIX 2008, all of these are in the correct reserved namespaces and do not need protection.
Diffstat (limited to 'include')
-rw-r--r--include/netinet/in.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h
index a641f6a6..02a77ca5 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -134,7 +134,6 @@ uint16_t ntohs(uint16_t);
#include <bits/in.h>
-#if 1 /* FIXME: namespace violation */
#define IN_CLASSA(a) ((((in_addr_t)(a)) & 0x80000000) == 0)
#define IN_CLASSA_NET 0xff000000
#define IN_CLASSA_NSHIFT 24
@@ -153,6 +152,5 @@ uint16_t ntohs(uint16_t);
#define IN_MULTICAST(a) IN_CLASSD(a)
#define IN_EXPERIMENTAL(a) ((((in_addr_t)(a)) & 0xe0000000) == 0xe0000000)
#define IN_BADCLASS(a) ((((in_addr_t)(a)) & 0xf0000000) == 0xf0000000)
-#endif
#endif