aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/cam_xpt.c
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>1999-01-20 23:00:31 +0000
committerMatt Jacob <mjacob@FreeBSD.org>1999-01-20 23:00:31 +0000
commit667d00a796ad83d699865298c8ad66e27e768c1b (patch)
treeec9a22f9dc5c3ca1eed7b8fc0b3ef14ced6e2b01 /sys/cam/cam_xpt.c
parent4479239b607f319da60a1efe97b678bec380595b (diff)
downloadsrc-667d00a796ad83d699865298c8ad66e27e768c1b.tar.gz
src-667d00a796ad83d699865298c8ad66e27e768c1b.zip
put it back the way it was
Notes
Notes: svn path=/head/; revision=42920
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r--sys/cam/cam_xpt.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index 789a0377e3dd..bd25e744f015 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cam_xpt.c,v 1.40 1999/01/20 01:13:20 ken Exp $
+ * $Id: cam_xpt.c,v 1.41 1999/01/20 19:08:45 mjacob Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -542,12 +542,8 @@ u_int32_t cam_dflags;
#endif /* CAM_DEBUG_BUS || CAM_DEBUG_TARGET || CAM_DEBUG_LUN */
/* Our boot-time initialization hook */
-#ifdef __alpha__
-void xpt_init(void *);
-#else
static void xpt_init(void *);
SYSINIT(cam, SI_SUB_CONFIGURE, SI_ORDER_SECOND, xpt_init, NULL);
-#endif
static cam_status xpt_compile_path(struct cam_path *new_path,
struct cam_periph *perph,
@@ -1174,10 +1170,7 @@ ptstartover:
}
/* Functions accessed by the peripheral drivers */
-#ifndef __alpha__
-static
-#endif
-void
+static void
xpt_init(dummy)
void *dummy;
{