summaryrefslogtreecommitdiff
path: root/arch/i386
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 /arch/i386
parent855df698c49610696c562979790381414243c63c (diff)
downloadmusl-d6a1e0c79e84e6f13cd567b6401e0de1f9b5d4bb.tar.gz
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 'arch/i386')
-rw-r--r--arch/i386/bits/socket.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/i386/bits/socket.h b/arch/i386/bits/socket.h
index b3230625..9d6722b9 100644
--- a/arch/i386/bits/socket.h
+++ b/arch/i386/bits/socket.h
@@ -201,7 +201,6 @@ struct linger
((struct cmsghdr *)__CMSG_NEXT(cmsg))))
#define CMSG_FIRSTHDR(mhdr) ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0)
-/* Are these valid? */
#define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
#define CMSG_SPACE(len) (CMSG_ALIGN (len) + CMSG_ALIGN (sizeof (struct cmsghdr)))
#define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))