diff options
author | tron <tron@openttd.org> | 2005-01-22 20:23:18 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-22 20:23:18 +0000 |
commit | 189ca7370762dca088a13d08ccb035e364758abb (patch) | |
tree | f77535f8809840126757131b192e611f6d912bdf /unix.c | |
parent | 7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff) | |
download | openttd-189ca7370762dca088a13d08ccb035e364758abb.tar.xz |
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -34,7 +34,7 @@ static char *_fios_scn_path; static FiosItem *_fios_items; static int _fios_count, _fios_alloc; -static FiosItem *FiosAlloc() +static FiosItem *FiosAlloc(void) { if (_fios_count == _fios_alloc) { _fios_alloc += 256; @@ -243,7 +243,7 @@ FiosItem *FiosGetScenarioList(int *num, int mode) // Free the list of savegames -void FiosFreeSavegameList() +void FiosFreeSavegameList(void) { free(_fios_items); _fios_items = NULL; @@ -370,7 +370,7 @@ const DriverDesc _music_driver_descs[] = { /* GetOSVersion returns the minimal required version of OS to be able to use that driver. Not needed for *nix. */ -byte GetOSVersion() +byte GetOSVersion(void) { return 2; // any arbitrary number bigger than 0 // numbers lower than 2 breaks default music selection on mac @@ -451,7 +451,7 @@ int CDECL main(int argc, char* argv[]) return ttd_main(argc, argv); } -void DeterminePaths() +void DeterminePaths(void) { char *s; |