Module Name: src Committed By: joerg Date: Fri Jan 20 01:17:01 UTC 2012
Modified Files: src/sys/sys: socket.h Log Message: CMSG_ALIGN is only for the kernel. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/sys/socket.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/socket.h diff -u src/sys/sys/socket.h:1.102 src/sys/sys/socket.h:1.103 --- src/sys/sys/socket.h:1.102 Fri Jan 20 00:25:29 2012 +++ src/sys/sys/socket.h Fri Jan 20 01:17:01 2012 @@ -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 @@ struct cmsghdr { #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 */