src/industry.h
changeset 6825 45ea88cc56e9
parent 6824 b37cba5bf2ca
child 6839 2cc0a04fa761
--- a/src/industry.h	Fri Jun 08 15:48:48 2007 +0000
+++ b/src/industry.h	Fri Jun 08 15:59:03 2007 +0000
@@ -210,10 +210,10 @@
 
 static inline uint GetNumIndustries()
 {
+	extern int _total_industries;  // general counter
 	return _total_industries;
 }
 
-extern int _total_industries;                      // general counter
 extern uint16 _industry_counts[NUM_INDUSTRYTYPES]; // Number of industries per type ingame
 
 /** Increment the count of industries for this type