summaryrefslogtreecommitdiff
path: root/industry_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 20:23:18 +0000
committertron <tron@openttd.org>2005-01-22 20:23:18 +0000
commit189ca7370762dca088a13d08ccb035e364758abb (patch)
treef77535f8809840126757131b192e611f6d912bdf /industry_cmd.c
parent7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff)
downloadopenttd-189ca7370762dca088a13d08ccb035e364758abb.tar.xz
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'industry_cmd.c')
-rw-r--r--industry_cmd.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index 41455b6b0..ab33e1f4d 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -1096,7 +1096,7 @@ static void ProduceIndustryGoods(Industry *i)
}
}
-void OnTick_Industry()
+void OnTick_Industry(void)
{
Industry *i;
@@ -1399,7 +1399,7 @@ static bool CheckIfTooCloseToIndustry(uint tile, int type)
return true;
}
-static Industry *AllocateIndustry()
+static Industry *AllocateIndustry(void)
{
Industry *i;
@@ -1614,7 +1614,7 @@ static void PlaceInitialIndustry(byte type, int amount)
}
}
-void GenerateIndustries()
+void GenerateIndustries(void)
{
const byte *b;
@@ -1814,7 +1814,7 @@ add_news:
}
}
-void IndustryMonthlyLoop()
+void IndustryMonthlyLoop(void)
{
Industry *i;
byte old_player = _current_player;
@@ -1843,7 +1843,7 @@ void IndustryMonthlyLoop()
}
-void InitializeIndustries()
+void InitializeIndustries(void)
{
Industry *i;
int j;
@@ -1905,7 +1905,7 @@ static const byte _industry_desc[] = {
SLE_END()
};
-static void Save_INDY()
+static void Save_INDY(void)
{
Industry *ind;
@@ -1918,7 +1918,7 @@ static void Save_INDY()
}
}
-static void Load_INDY()
+static void Load_INDY(void)
{
int index;
_total_industries = 0;