don't #define _LKM to work around header lossage; it is no longer necessary.

This commit is contained in:
mrg 2001-06-05 09:20:12 +00:00
parent 804019f100
commit 7276c20511
2 changed files with 4 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fstat.c,v 1.45 2001/01/04 23:05:55 lukem Exp $ */
/* $NetBSD: fstat.c,v 1.46 2001/06/05 09:20:12 mrg Exp $ */
/*-
* Copyright (c) 1988, 1993
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\
#if 0
static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95";
#else
__RCSID("$NetBSD: fstat.c,v 1.45 2001/01/04 23:05:55 lukem Exp $");
__RCSID("$NetBSD: fstat.c,v 1.46 2001/06/05 09:20:12 mrg Exp $");
#endif
#endif /* not lint */
@ -61,11 +61,9 @@ __RCSID("$NetBSD: fstat.c,v 1.45 2001/01/04 23:05:55 lukem Exp $");
#include <sys/sysctl.h>
#include <sys/filedesc.h>
#define _KERNEL
#define _LKM
#include <sys/file.h>
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
#undef _LKM
#undef _KERNEL
#define _KERNEL
#include <sys/mount.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pstat.c,v 1.59 2001/02/11 03:01:05 enami Exp $ */
/* $NetBSD: pstat.c,v 1.60 2001/06/05 09:20:13 mrg Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
#else
__RCSID("$NetBSD: pstat.c,v 1.59 2001/02/11 03:01:05 enami Exp $");
__RCSID("$NetBSD: pstat.c,v 1.60 2001/06/05 09:20:13 mrg Exp $");
#endif
#endif /* not lint */
@ -53,7 +53,6 @@ __RCSID("$NetBSD: pstat.c,v 1.59 2001/02/11 03:01:05 enami Exp $");
#include <sys/map.h>
#include <sys/ucred.h>
#define _KERNEL
#define _LKM
#include <sys/file.h>
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>