diff options
author | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
commit | 15b9bcb121e1f3735a2c98a11afdb52a03301d7e (patch) | |
tree | e999c95eb5db56737efc17feeb385a77941021bb /sys/netnatm | |
parent | 9ed7cb48bf4a00a23e7489706b0effe1c516cb5b (diff) | |
download | FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.zip FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.tar.gz |
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
Diffstat (limited to 'sys/netnatm')
-rw-r--r-- | sys/netnatm/natm.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/netnatm/natm.h b/sys/netnatm/natm.h index 45048d7..431eb35 100644 --- a/sys/netnatm/natm.h +++ b/sys/netnatm/natm.h @@ -1,4 +1,5 @@ /* $NetBSD: natm.h,v 1.1 1996/07/04 03:20:12 chuck Exp $ */ +/* $FreeBSD$ */ /* * @@ -57,11 +58,7 @@ struct sockaddr_natm { }; -#if defined(__FreeBSD__) && defined(KERNEL) - -#ifndef _KERNEL -#define _KERNEL -#endif +#if defined(__FreeBSD__) && defined(_KERNEL) #define SPLSOFTNET() splnet() |