From 189ca7370762dca088a13d08ccb035e364758abb Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 22 Jan 2005 20:23:18 +0000 Subject: (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile --- industry_cmd.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'industry_cmd.c') 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; -- cgit v1.2.3-54-g00ecf