summaryrefslogtreecommitdiff
path: root/src/mainboard/via
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-04-30 23:11:23 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-04-30 23:11:23 +0000
commit52f851dd1da8cefb3fb6e4795dc419d76d2b50b1 (patch)
tree7ce1f6a1fe5fed5ed4021d33310b8649f5c5d036 /src/mainboard/via
parentd16753be863e6c5729af904f4034495b4a58efe9 (diff)
put extern keyword in front of declaration, make the compiler do it job
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1545 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via')
-rw-r--r--src/mainboard/via/epia-m/chip.h2
-rw-r--r--src/mainboard/via/epia/chip.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/via/epia-m/chip.h b/src/mainboard/via/epia-m/chip.h
index 922b4c44ff..03b13482e2 100644
--- a/src/mainboard/via/epia-m/chip.h
+++ b/src/mainboard/via/epia-m/chip.h
@@ -1,4 +1,4 @@
-struct chip_control mainboard_via_epia_m_control;
+extern struct chip_control mainboard_via_epia_m_control;
struct mainboard_via_epia_m_config {
int nothing;
diff --git a/src/mainboard/via/epia/chip.h b/src/mainboard/via/epia/chip.h
index 94b632b5a8..2e2f298eb9 100644
--- a/src/mainboard/via/epia/chip.h
+++ b/src/mainboard/via/epia/chip.h
@@ -1,4 +1,4 @@
-struct chip_control mainboard_via_epia_control;
+extern struct chip_control mainboard_via_epia_control;
struct mainboard_via_epia_config {
int nothing;