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_xpt_sim.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_xpt_sim.h')
-rw-r--r-- | sys/cam/cam_xpt_sim.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/cam_xpt_sim.h b/sys/cam/cam_xpt_sim.h index 698e638..62a53ec 100644 --- a/sys/cam/cam_xpt_sim.h +++ b/sys/cam/cam_xpt_sim.h @@ -36,7 +36,7 @@ #include <cam/cam_queue.h> /* Functions accessed by SIM drivers */ -#ifdef KERNEL +#ifdef _KERNEL int32_t xpt_bus_register(struct cam_sim *sim, u_int32_t bus); int32_t xpt_bus_deregister(u_int8_t path_id); u_int32_t xpt_freeze_simq(struct cam_sim *sim, u_int count); @@ -45,7 +45,7 @@ u_int32_t xpt_freeze_devq(struct cam_path *path, u_int count); void xpt_release_devq(struct cam_path *path, u_int count, int run_queue); void xpt_done(union ccb *done_ccb); -#endif /* KERNEL */ +#endif #endif /* _CAM_CAM_XPT_SIM_H */ |