summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pcvt/set2061/ICD2061Aalt.c4
-rw-r--r--usr.sbin/pstat/pstat.c4
-rw-r--r--usr.sbin/ypbind/yp_ping.c2
3 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/pcvt/set2061/ICD2061Aalt.c b/usr.sbin/pcvt/set2061/ICD2061Aalt.c
index a74ec4e..c65ebc4 100644
--- a/usr.sbin/pcvt/set2061/ICD2061Aalt.c
+++ b/usr.sbin/pcvt/set2061/ICD2061Aalt.c
@@ -1,10 +1,12 @@
/*
* This code is derived from code available from the STB bulletin board
+ *
+ * $FreeBSD$
*/
/* $XFree86: mit/server/ddx/x386/common_hw/ICD2061Aalt.c,v 2.6 1994/04/15 05:10:30 dawes Exp $ */
-#ifndef KERNEL
+#ifndef _KERNEL
#include "compiler.h"
#else
#define GCCUSESGAS
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 37b074e..ed5f007 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -49,7 +49,7 @@ static const char rcsid[] =
#include <sys/time.h>
#include <sys/vnode.h>
#include <sys/ucred.h>
-#define KERNEL
+#define _KERNEL
#include <sys/file.h>
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
@@ -57,7 +57,7 @@ static const char rcsid[] =
#include <sys/uio.h>
#include <sys/namei.h>
#include <miscfs/union/union.h>
-#undef KERNEL
+#undef _KERNEL
#include <sys/stat.h>
#include <nfs/rpcv2.h>
#include <nfs/nfsproto.h>
diff --git a/usr.sbin/ypbind/yp_ping.c b/usr.sbin/ypbind/yp_ping.c
index aaf71d6..a88d8ff 100644
--- a/usr.sbin/ypbind/yp_ping.c
+++ b/usr.sbin/ypbind/yp_ping.c
@@ -97,7 +97,7 @@ static const char rcsid[] =
#include "yp_ping.h"
#ifndef timeradd
-#ifndef KERNEL /* use timevaladd/timevalsub in kernel */
+#ifndef _KERNEL /* use timevaladd/timevalsub in kernel */
/* NetBSD/OpenBSD compatable interfaces */
#define timeradd(tvp, uvp, vvp) \
do { \
OpenPOWER on IntegriCloud