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 --- unix.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unix.c') diff --git a/unix.c b/unix.c index f47ed6c26..ab2c8b948 100644 --- a/unix.c +++ b/unix.c @@ -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; -- cgit v1.2.3-54-g00ecf