From owner-cvs-all@FreeBSD.ORG Mon Dec 22 18:34:26 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9D7516A4CE; Mon, 22 Dec 2003 18:34:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2C3543D49; Mon, 22 Dec 2003 18:34:25 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBN2YP0B040277; Mon, 22 Dec 2003 18:34:25 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBN2YPZw040276; Mon, 22 Dec 2003 18:34:25 -0800 (PST) (envelope-from peter) Message-Id: <200312230234.hBN2YPZw040276@repoman.freebsd.org> From: Peter Wemm Date: Mon, 22 Dec 2003 18:34:25 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys _null.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 02:34:26 -0000 peter 2003/12/22 18:34:25 PST FreeBSD src repository Modified files: sys/sys _null.h Log: Don peril sensitive sunglasses and set NULL to an actual pointer type, but *only* for the kernel. We can do this because the kernel is not a standard C application environment. This would have stopped the recent mtx_* arg NULL/MTX_DEF mixups from going unnoticed for so long. Revision Changes Path 1.3 +4 -0 src/sys/sys/_null.h