summaryrefslogtreecommitdiff
path: root/intro_gui.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
commit189ca7370762dca088a13d08ccb035e364758abb (patch)
treef77535f8809840126757131b192e611f6d912bdf /intro_gui.c
parent7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff)
downloadopenttd-189ca7370762dca088a13d08ccb035e364758abb.tar.xz
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'intro_gui.c')
-rw-r--r--intro_gui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/intro_gui.c b/intro_gui.c
index 3af65952c..39d8b124d 100644
--- a/intro_gui.c
+++ b/intro_gui.c
@@ -40,7 +40,7 @@ static const Widget _select_game_widgets[] = {
};
extern void HandleOnEditText(WindowEvent *e);
-extern void HandleOnEditTextCancel();
+extern void HandleOnEditTextCancel(void);
static void SelectGameWndProc(Window *w, WindowEvent *e) {
switch(e->event) {
@@ -94,7 +94,7 @@ static const WindowDesc _select_game_desc = {
SelectGameWndProc
};
-void ShowSelectGameWindow()
+void ShowSelectGameWindow(void)
{
AllocateWindowDesc(&_select_game_desc);
}
@@ -232,7 +232,7 @@ static const WindowDesc _ask_abandon_game_desc = {
AskAbandonGameWndProc
};
-void AskExitGame()
+void AskExitGame(void)
{
AllocateWindowDescFront(&_ask_abandon_game_desc, 0);
}
@@ -285,7 +285,7 @@ static const WindowDesc _ask_quit_game_desc = {
};
-void AskExitToGameMenu()
+void AskExitToGameMenu(void)
{
AllocateWindowDescFront(&_ask_quit_game_desc, 0);
}