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.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.h')
-rw-r--r-- | sys/cam/cam.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/cam/cam.h b/sys/cam/cam.h index b185457..28964bc 100644 --- a/sys/cam/cam.h +++ b/sys/cam/cam.h @@ -31,9 +31,9 @@ #ifndef _CAM_CAM_H #define _CAM_CAM_H 1 -#ifdef KERNEL +#ifdef _KERNEL #include <opt_cam.h> -#endif /* KERNEL */ +#endif #include <sys/cdefs.h> @@ -163,7 +163,7 @@ void cam_strvis(u_int8_t *dst, const u_int8_t *src, int srclen, int dstlen); int cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len); __END_DECLS -#ifdef KERNEL +#ifdef _KERNEL static __inline void cam_init_pinfo(cam_pinfo *pinfo); static __inline void cam_init_pinfo(cam_pinfo *pinfo) @@ -171,6 +171,6 @@ static __inline void cam_init_pinfo(cam_pinfo *pinfo) pinfo->priority = CAM_PRIORITY_NONE; pinfo->index = CAM_UNQUEUED_INDEX; } -#endif /* KERNEL */ +#endif #endif /* _CAM_CAM_H */ |