summaryrefslogtreecommitdiff
path: root/window.h
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 /window.h
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 'window.h')
-rw-r--r--window.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/window.h b/window.h
index d3e07a0cf..0aa4b920b 100644
--- a/window.h
+++ b/window.h
@@ -510,7 +510,7 @@ void DispatchMouseWheelEvent(Window *w, uint widget, int wheel);
/* window.c */
void DrawOverlappedWindow(Window *w, int left, int top, int right, int bottom);
void CallWindowEventNP(Window *w, int event);
-void CallWindowTickEvent();
+void CallWindowTickEvent(void);
void SetWindowDirty(Window *w);
Window *FindWindowById(WindowClass cls, WindowNumber number);
@@ -555,10 +555,10 @@ Window *AllocateWindowAutoPlace2(
void DrawWindowViewport(Window *w);
-void InitWindowSystem();
+void InitWindowSystem(void);
int GetMenuItemIndex(Window *w, int x, int y);
-void MouseLoop();
-void UpdateWindows();
+void MouseLoop(void);
+void UpdateWindows(void);
void InvalidateWidget(Window *w, byte widget_index);
void GuiShowTooltips(uint16 string_id);
@@ -575,8 +575,8 @@ void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int butt
void HandleButtonClick(Window *w, byte widget);
-Window *GetCallbackWnd();
-void DeleteNonVitalWindows();
+Window *GetCallbackWnd(void);
+void DeleteNonVitalWindows(void);
void DeleteAllNonVitalWindows(void);
void HideVitalWindows(void);
void ShowVitalWindows(void);