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 | 94d5aeabb217cb08acf1225342c28bb0ac44f676 (patch) | |
tree | f77535f8809840126757131b192e611f6d912bdf /oldloader.c | |
parent | 14451419c6c6b82ddb2204b43595fcf9acee91dc (diff) | |
download | openttd-94d5aeabb217cb08acf1225342c28bb0ac44f676.tar.xz |
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'oldloader.c')
-rw-r--r-- | oldloader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oldloader.c b/oldloader.c index d96ab3420..b8b9fb155 100644 --- a/oldloader.c +++ b/oldloader.c @@ -525,7 +525,7 @@ typedef struct LoadSavegameState { static LoadSavegameState *_cur_state; -static byte GetSavegameByteFromBuffer() +static byte GetSavegameByteFromBuffer(void) { LoadSavegameState *lss = _cur_state; @@ -544,7 +544,7 @@ static byte GetSavegameByteFromBuffer() return *lss->buffer_cur++; } -static byte DecodeSavegameByte() +static byte DecodeSavegameByte(void) { LoadSavegameState *lss = _cur_state; int8 x; |