Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys CMSG_ALIGN is only for the kernel.
details: https://anonhg.NetBSD.org/src/rev/9d490c698c4b
branches: trunk
changeset: 772889:9d490c698c4b
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Jan 20 01:17:01 2012 +0000
description:
CMSG_ALIGN is only for the kernel.
diffstat:
sys/sys/socket.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r eb5a0f71be91 -r 9d490c698c4b sys/sys/socket.h
--- a/sys/sys/socket.h Fri Jan 20 00:25:29 2012 +0000
+++ b/sys/sys/socket.h Fri Jan 20 01:17:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: socket.h,v 1.102 2012/01/20 00:25:29 joerg Exp $ */
+/* $NetBSD: socket.h,v 1.103 2012/01/20 01:17:01 joerg Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -536,7 +536,6 @@
#define CMSG_ALIGN(n) __CMSG_ALIGN(n)
#else
#define __CMSG_ALIGN(n) (((n) + __cmsg_alignbytes()) & ~__cmsg_alignbytes())
-#define CMSG_ALIGN(n) __CMSG_ALIGN(n)
#endif
/* given pointer to struct cmsghdr, return pointer to next cmsghdr */
Home |
Main Index |
Thread Index |
Old Index