summaryrefslogtreecommitdiff
path: root/station_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
commit94d5aeabb217cb08acf1225342c28bb0ac44f676 (patch)
treef77535f8809840126757131b192e611f6d912bdf /station_cmd.c
parent14451419c6c6b82ddb2204b43595fcf9acee91dc (diff)
downloadopenttd-94d5aeabb217cb08acf1225342c28bb0ac44f676.tar.xz
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 091205e0e..e856e7f2e 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -137,7 +137,7 @@ static bool CheckStationSpreadOut(Station *st, uint tile, int w, int h)
return true;
}
-static Station *AllocateStation()
+static Station *AllocateStation(void)
{
Station *st, *a_free = NULL;
int num_free = 0;
@@ -360,7 +360,7 @@ static void UpdateStationVirtCoord(Station *st)
}
// Update the virtual coords needed to draw the station sign for all stations.
-void UpdateAllStationVirtCoord()
+void UpdateAllStationVirtCoord(void)
{
Station *st;
FOR_ALL_STATIONS(st) {
@@ -2293,7 +2293,7 @@ static void DeleteStation(Station *st)
DeleteSubsidyWithStation(index);
}
-void DeleteAllPlayerStations()
+void DeleteAllPlayerStations(void)
{
Station *st;
@@ -2433,7 +2433,7 @@ static void StationHandleSmallTick(Station *st)
UpdateStationRating(st);
}
-void OnTick_Station()
+void OnTick_Station(void)
{
int i;
Station *st;
@@ -2456,7 +2456,7 @@ void OnTick_Station()
}
-void StationMonthlyLoop()
+void StationMonthlyLoop(void)
{
}
@@ -2772,7 +2772,7 @@ static int32 ClearTile_Station(uint tile, byte flags) {
}
-void InitializeStations()
+void InitializeStations(void)
{
int i;
Station *s;
@@ -2874,7 +2874,7 @@ static void SaveLoad_STNS(Station *st)
SlObject(&st->goods[i], _goods_desc);
}
-static void Save_STNS()
+static void Save_STNS(void)
{
Station *st;
// Write the stations
@@ -2886,7 +2886,7 @@ static void Save_STNS()
}
}
-static void Load_STNS()
+static void Load_STNS(void)
{
int index;
while ((index = SlIterateArray()) != -1) {