summaryrefslogtreecommitdiff
path: root/bridge.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-15 17:55:59 +0000
committertron <tron@openttd.org>2005-12-15 17:55:59 +0000
commit28fe368b7fee701d92c2c459c28bcaeae7f43235 (patch)
treea7149cdbdf03a226b7a04ea8a0343d8dea79ec0b /bridge.h
parentca52ec33b215834a20a5a1ef327da773a7f8e2c3 (diff)
downloadopenttd-28fe368b7fee701d92c2c459c28bcaeae7f43235.tar.xz
(svn r3308) BAD
foo.h: int bar; GOOD foo.h: extern int bar; foo.c: int bar;
Diffstat (limited to 'bridge.h')
-rw-r--r--bridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge.h b/bridge.h
index c3a2f4c57..79ea4fbde 100644
--- a/bridge.h
+++ b/bridge.h
@@ -20,6 +20,6 @@ typedef struct Bridge {
} Bridge;
extern const Bridge orig_bridge[MAX_BRIDGES];
-Bridge _bridge[MAX_BRIDGES];
+extern Bridge _bridge[MAX_BRIDGES];
#endif /* BRIDGE_H */