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 | 189ca7370762dca088a13d08ccb035e364758abb (patch) | |
tree | f77535f8809840126757131b192e611f6d912bdf /window.h | |
parent | 7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff) | |
download | openttd-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.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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); |