From owner-cvs-all Fri Jan 29 00:12:52 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA10661 for cvs-all-outgoing; Fri, 29 Jan 1999 00:12:52 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA10651; Fri, 29 Jan 1999 00:12:50 -0800 (PST) (envelope-from dillon@FreeBSD.org) From: Matt Dillon Received: (from dillon@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id AAA38134; Fri, 29 Jan 1999 00:12:49 -0800 (PST) (envelope-from dillon@FreeBSD.org) Date: Fri, 29 Jan 1999 00:12:49 -0800 (PST) Message-Id: <199901290812.AAA38134@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/sys kernel.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1999/01/29 00:12:49 PST Modified files: sys/sys kernel.h Log: Commit a solution for the SYSINIT vs C_SYSINIT conundrum. The problem and solution is outlined in the comments, but basically we needed a way to allow the SYSINIT mechanism to handle const void * arguments and function pointers as well as non-const arguments and function pointers while still maintaining the compiler's ability to issue warnings if you try to use a bad combination. Revision Changes Path 1.52 +28 -20 src/sys/sys/kernel.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message