From owner-freebsd-commit Wed Oct 4 18:12:09 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA12220 for freebsd-commit-outgoing; Wed, 4 Oct 1995 18:12:09 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA12208 for cvs-all-outgoing; Wed, 4 Oct 1995 18:12:06 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA12198 for cvs-sys-outgoing; Wed, 4 Oct 1995 18:12:03 -0700 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA12185 ; Wed, 4 Oct 1995 18:11:52 -0700 Date: Wed, 4 Oct 1995 18:11:52 -0700 From: Bruce Evans Message-Id: <199510050111.SAA12185@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm lock.h vm.h Sender: owner-commit@FreeBSD.org Precedence: bulk bde 95/10/04 18:11:50 Modified: sys/vm lock.h vm.h Log: Fix pollution of application namespace by declarations of kernel functions. The application header includes which includes ... vm.h: Don't include . It is already included by in the kernel and isn't designed to be included by applications (the 2.1 version causes a syntax error in C++ and the current version has initializers that are invalid in strict C++). lock.h: Only declare kernel functions if KERNEL is defined.