Corrected internal function prototype.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 15 May 2013 22:25:00 +0200
changeset 7178 8e2156e2ff3e
parent 7177 8261f0946a2f
child 7179 d6acc2d7f760
Corrected internal function prototype.
src/video/SDL_sysvideo.h
src/video/SDL_video.c
--- a/src/video/SDL_sysvideo.h	Wed May 15 22:24:23 2013 +0200
+++ b/src/video/SDL_sysvideo.h	Wed May 15 22:25:00 2013 +0200
@@ -375,7 +375,7 @@
 extern void SDL_UpdateWindowGrab(SDL_Window * window);
 extern SDL_Window * SDL_GetFocusWindow(void);
 
-extern SDL_bool SDL_ShouldAllowTopmost();
+extern SDL_bool SDL_ShouldAllowTopmost(void);
 
 #endif /* _SDL_sysvideo_h */
 
--- a/src/video/SDL_video.c	Wed May 15 22:24:23 2013 +0200
+++ b/src/video/SDL_video.c	Wed May 15 22:25:00 2013 +0200
@@ -3054,7 +3054,7 @@
 }
 
 SDL_bool
-SDL_ShouldAllowTopmost()
+SDL_ShouldAllowTopmost(void)
 {
 	const char *hint = SDL_GetHint(SDL_HINT_ALLOW_TOPMOST);
 	if (hint) {