diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
commit | 36bb92ae241403d61dc7a3e5a1696b615be61395 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/newgrf_station.cpp | |
parent | a69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226 (diff) | |
download | openttd-36bb92ae241403d61dc7a3e5a1696b615be61395.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/newgrf_station.cpp')
-rw-r--r-- | src/newgrf_station.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp index 741894dcb..cb975f731 100644 --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -31,7 +31,7 @@ enum { * This includes initialising the Default and Waypoint classes with an empty * entry, for standard stations and waypoints. */ -void ResetStationClasses(void) +void ResetStationClasses() { for (StationClassID i = STAT_CLASS_BEGIN; i < STAT_CLASS_MAX; i++) { station_classes[i].id = 0; @@ -95,7 +95,7 @@ StringID GetStationClassName(StationClassID sclass) /** Build a list of station class name StringIDs to use in a dropdown list * @return Pointer to a (static) array of StringIDs */ -StringID *BuildStationClassDropdown(void) +StringID *BuildStationClassDropdown() { /* Allow room for all station classes, plus a terminator entry */ static StringID names[STAT_CLASS_MAX + 1]; @@ -115,7 +115,7 @@ StringID *BuildStationClassDropdown(void) * Get the number of station classes in use. * @return Number of station classes. */ -uint GetNumStationClasses(void) +uint GetNumStationClasses() { uint i; for (i = 0; i < STAT_CLASS_MAX && station_classes[i].id != 0; i++); |