From owner-cvs-sys Fri Sep 20 07:36:47 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA03432 for cvs-sys-outgoing; Fri, 20 Sep 1996 07:36:47 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA03299; Fri, 20 Sep 1996 07:36:20 -0700 (PDT) Date: Fri, 20 Sep 1996 07:36:20 -0700 (PDT) From: Bruce Evans Message-Id: <199609201436.HAA03299@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys kernel.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/09/20 07:36:18 Modified: sys/sys kernel.h Log: Fixed lots of warnings from gcc-2.7.x about "left-hand operand of comma expression has no effect" in the MAKE_SET() macro. This also fixes compiling with -O3 (which removes static functions unless there is a suitable reference to them). Declaring all the static symbols as __unused would also fix the warning, but would be bogus (they are used) and wouldn't fix -O3. However, the dummy pointers for the references waste about 1.5K text and 20K symbol space for GENERIC. This wastage hasn't changed - the dummy pointers are just nonzero now. Revision Changes Path 1.22 +2 -3 src/sys/sys/kernel.h