Date: Wed, 4 Oct 1995 18:11:52 -0700 From: Bruce Evans <bde> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm lock.h vm.h Message-ID: <199510050111.SAA12185@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sys/user.h> includes <vm/vm.h> which includes <vm/lock.h>... vm.h: Don't include <machine/cpufunc.h>. It is already included by <sys/systm.h> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510050111.SAA12185>