diff options
author | peter <peter@FreeBSD.org> | 1999-12-29 05:07:58 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-29 05:07:58 +0000 |
commit | d53e4c1d809338e9b317d95bdded2f7f7a986556 (patch) | |
tree | 916004bdaa3cf47d2a92effe8c981e7d1ff5ccec /sys/cam/cam_debug.h | |
parent | 15b9bcb121e1f3735a2c98a11afdb52a03301d7e (diff) | |
download | FreeBSD-src-d53e4c1d809338e9b317d95bdded2f7f7a986556.zip FreeBSD-src-d53e4c1d809338e9b317d95bdded2f7f7a986556.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/cam/cam_debug.h')
-rw-r--r-- | sys/cam/cam_debug.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/cam/cam_debug.h b/sys/cam/cam_debug.h index aa1a50d..22c56c6 100644 --- a/sys/cam/cam_debug.h +++ b/sys/cam/cam_debug.h @@ -30,9 +30,9 @@ #ifndef _CAM_CAM_DEBUG_H #define _CAM_CAM_DEBUG_H 1 -#if defined(CAMDEBUG) && defined(KERNEL) +#if defined(CAMDEBUG) && defined(_KERNEL) #include <machine/clock.h> -#endif /* CAMDEBUG && KERNEL */ +#endif /* CAMDEBUG && _KERNEL */ /* * Debugging flags. @@ -47,7 +47,7 @@ typedef enum { CAM_DEBUG_PERIPH = 0x20 /* print out peripheral calls */ } cam_debug_flags; -#if defined(CAMDEBUG) && defined(KERNEL) +#if defined(CAMDEBUG) && defined(_KERNEL) /* Path we want to debug */ extern struct cam_path *cam_dpath; @@ -80,12 +80,12 @@ extern u_int32_t cam_debug_delay; DELAY(cam_debug_delay); \ } -#else /* !CAMDEBUG || !KERNEL */ +#else /* !CAMDEBUG || !_KERNEL */ #define CAM_DEBUGGED(A, B) 0 #define CAM_DEBUG(A, B, C) #define CAM_DEBUG_PRINT(A, B) -#endif /* CAMDEBUG && KERNEL */ +#endif /* CAMDEBUG && _KERNEL */ #endif /* _CAM_CAM_DEBUG_H */ |