From owner-cvs-all Wed Nov 8 8:59:29 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2772B37B4C5; Wed, 8 Nov 2000 08:59:26 -0800 (PST) Received: (from asmodai@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA56342; Wed, 8 Nov 2000 08:59:26 -0800 (PST) (envelope-from asmodai@FreeBSD.org) Message-Id: <200011081659.IAA56342@freefall.freebsd.org> From: Jeroen Ruigrok van der Werven Date: Wed, 8 Nov 2000 08:59:25 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/include param.h src/sys/i386/include param.h src/sys/sys socket.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG asmodai 2000/11/08 08:59:25 PST Modified files: sys/alpha/include param.h sys/i386/include param.h sys/sys socket.h Log: Fix CMSG and ALIGN macro usage. Previously we had to include or bogusly due to the fact that CMSG macros needed the ALIGN macro, which was defined in param.h. However, including param.h was a disaster for namespace pollution. This solution, as contributed by shin a while ago, fixes it elegantly by wrapping the definitions around some namespace pollution preventer definitions. This patch was long overdue. This should allow any network programmer to use as before. PR: 19971, 20530 Submitted by: Martin Kaeske Mark Andrews Patch submitted by: shin Reviewed by: bde Revision Changes Path 1.23 +38 -18 src/sys/alpha/include/param.h 1.59 +26 -14 src/sys/i386/include/param.h 1.45 +15 -7 src/sys/sys/socket.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message