add #include <sys/kernel.h> where it's needed by MALLOC_DEFINE()

This commit is contained in:
Peter Wemm 1998-11-10 09:16:29 +00:00
parent c6105dce78
commit 1c5bb3eaa1
13 changed files with 27 additions and 15 deletions

View File

@ -1,4 +1,4 @@
/* $Id: msdosfs_denode.c,v 1.39 1998/08/17 19:09:36 bde Exp $ */
/* $Id: msdosfs_denode.c,v 1.40 1998/10/29 09:29:17 peter Exp $ */
/* $NetBSD: msdosfs_denode.c,v 1.28 1998/02/10 14:10:00 mrg Exp $ */
/*-
@ -50,6 +50,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/mount.h>
#include <sys/malloc.h>
#include <sys/proc.h>

View File

@ -31,11 +31,12 @@
* SUCH DAMAGE.
*
* @(#)ufs_ihash.c 8.7 (Berkeley) 5/17/95
* $Id: ufs_ihash.c,v 1.15 1998/02/06 12:14:17 eivind Exp $
* $Id: ufs_ihash.c,v 1.16 1998/02/09 06:11:10 eivind Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/vnode.h>
#include <sys/malloc.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_exit.c 8.7 (Berkeley) 2/12/94
* $Id: kern_exit.c,v 1.66 1998/04/06 08:26:03 phk Exp $
* $Id: kern_exit.c,v 1.67 1998/06/05 21:44:20 dg Exp $
*/
#include "opt_compat.h"
@ -45,6 +45,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/pioctl.h>

View File

@ -23,14 +23,14 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: kern_intr.c,v 1.19 1998/08/11 15:08:13 bde Exp $
* $Id: kern_intr.c,v 1.20 1998/09/26 14:25:31 dfr Exp $
*
*/
#include <sys/types.h>
#include <sys/malloc.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/errno.h>
#ifdef RESOURCE_CHECK
#include <sys/drvresource.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)kern_ktrace.c 8.2 (Berkeley) 9/23/93
* $Id: kern_ktrace.c,v 1.22 1997/12/05 19:55:38 bde Exp $
* $Id: kern_ktrace.c,v 1.23 1998/02/20 13:37:38 bde Exp $
*/
#include "opt_ktrace.h"
@ -39,6 +39,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/fcntl.h>
#include <sys/lock.h>

View File

@ -34,13 +34,14 @@
* SUCH DAMAGE.
*
* @(#)ufs_lockf.c 8.3 (Berkeley) 1/6/94
* $Id: kern_lockf.c,v 1.18 1998/01/31 07:23:11 eivind Exp $
* $Id: kern_lockf.c,v 1.19 1998/07/29 17:38:14 bde Exp $
*/
#include "opt_debug_lockf.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/proc.h>
#include <sys/unistd.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_prot.c 8.6 (Berkeley) 1/21/94
* $Id: kern_prot.c,v 1.40 1998/06/10 10:28:29 dfr Exp $
* $Id: kern_prot.c,v 1.41 1998/11/09 15:07:42 truckman Exp $
*/
/*
@ -49,6 +49,7 @@
#include <sys/acct.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/unistd.h>

View File

@ -1,4 +1,4 @@
/* $Id: msdosfs_denode.c,v 1.39 1998/08/17 19:09:36 bde Exp $ */
/* $Id: msdosfs_denode.c,v 1.40 1998/10/29 09:29:17 peter Exp $ */
/* $NetBSD: msdosfs_denode.c,v 1.28 1998/02/10 14:10:00 mrg Exp $ */
/*-
@ -50,6 +50,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/mount.h>
#include <sys/malloc.h>
#include <sys/proc.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_output.c 8.3 (Berkeley) 1/21/94
* $Id: ip_output.c,v 1.81 1998/08/23 03:07:14 wollman Exp $
* $Id: ip_output.c,v 1.82 1998/09/02 15:11:14 wollman Exp $
*/
#define _IP_VHL
@ -42,6 +42,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/protosw.h>

View File

@ -31,11 +31,12 @@
* SUCH DAMAGE.
*
* @(#)ufs_ihash.c 8.7 (Berkeley) 5/17/95
* $Id: ufs_ihash.c,v 1.15 1998/02/06 12:14:17 eivind Exp $
* $Id: ufs_ihash.c,v 1.16 1998/02/09 06:11:10 eivind Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/vnode.h>
#include <sys/malloc.h>

View File

@ -34,11 +34,12 @@
* SUCH DAMAGE.
*
* @(#)ufs_quota.c 8.5 (Berkeley) 5/20/95
* $Id: ufs_quota.c,v 1.23 1998/06/21 14:53:40 bde Exp $
* $Id: ufs_quota.c,v 1.24 1998/07/15 02:32:34 bde Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/namei.h>
#include <sys/malloc.h>
#include <sys/fcntl.h>

View File

@ -36,12 +36,13 @@
* SUCH DAMAGE.
*
* @(#)ufs_vfsops.c 8.8 (Berkeley) 5/20/95
* $Id: ufs_vfsops.c,v 1.10 1997/08/16 19:16:27 wollman Exp $
* $Id: ufs_vfsops.c,v 1.11 1997/10/12 20:26:27 phk Exp $
*/
#include "opt_quota.h"
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/mount.h>
#include <sys/proc.h>
#include <sys/malloc.h>

View File

@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: vm_pager.c,v 1.38 1998/10/13 08:24:44 dg Exp $
* $Id: vm_pager.c,v 1.39 1998/10/31 15:31:29 peter Exp $
*/
/*
@ -71,6 +71,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/buf.h>
#include <sys/ucred.h>
#include <sys/malloc.h>