summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_periph.h
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-05-07 18:04:50 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-05-07 18:04:50 +0000
commit1d9c3ddb36fcbf193c305b31726f46beb0028405 (patch)
treedccf10ae61e0577c3a82fd3645eb0dd646716510 /sys/cam/cam_periph.h
parentd26e40cb270f2df3d838565c1465f0172ae77390 (diff)
downloadFreeBSD-src-1d9c3ddb36fcbf193c305b31726f46beb0028405.zip
FreeBSD-src-1d9c3ddb36fcbf193c305b31726f46beb0028405.tar.gz
*sigh* I must have been on something that night. Make xpt_periph an
extern with the original in cam_xpt.c instead of replicating xpt_periph in all the sources using it (and hence not initialising it)
Diffstat (limited to 'sys/cam/cam_periph.h')
-rw-r--r--sys/cam/cam_periph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_periph.h b/sys/cam/cam_periph.h
index 9bb7eee..54c549c 100644
--- a/sys/cam/cam_periph.h
+++ b/sys/cam/cam_periph.h
@@ -35,7 +35,7 @@
#ifdef _KERNEL
-struct cam_periph *xpt_periph;
+extern struct cam_periph *xpt_periph;
extern struct linker_set periphdriver_set;
OpenPOWER on IntegriCloud