aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/cam_periph.h
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>2000-05-07 18:04:50 +0000
committerNick Hibma <n_hibma@FreeBSD.org>2000-05-07 18:04:50 +0000
commit9a1c8571c78e7d205ce25f5ed228bcbf5290564e (patch)
tree242a22ed8911ca42ae6c11b6825f08319eb4e64b /sys/cam/cam_periph.h
parent3920b84004920488f0a7703aaecf3ecf1aa8c2bc (diff)
downloadsrc-9a1c8571c78e7d205ce25f5ed228bcbf5290564e.tar.gz
src-9a1c8571c78e7d205ce25f5ed228bcbf5290564e.zip
*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)
Notes
Notes: svn path=/head/; revision=60168
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 9bb7eeeb48bd..54c549c39572 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;