Fri Jan 20 01:17:01 2012 UTC ()
CMSG_ALIGN is only for the kernel.


(joerg)
diff -r1.102 -r1.103 src/sys/sys/socket.h

cvs diff -r1.102 -r1.103 src/sys/sys/socket.h (expand / switch to context diff)
--- src/sys/sys/socket.h 2012/01/20 00:25:29 1.102
+++ src/sys/sys/socket.h 2012/01/20 01:17:01 1.103
@@ -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 */