summaryrefslogtreecommitdiff
path: root/command.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 /command.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 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index 010c461f6..8e25cd79b 100644
--- a/command.c
+++ b/command.c
@@ -385,7 +385,7 @@ error:
return res;
}
-int32 GetAvailableMoneyForCommand()
+int32 GetAvailableMoneyForCommand(void)
{
uint pid = _current_player;
if (pid >= MAX_PLAYERS) return 0x7FFFFFFF; // max int