summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>2013-05-15 22:25:00 +0200
committerPhilipp Wiesemann <philipp.wiesemann@arcor.de>2013-05-15 22:25:00 +0200
commit5703aaa041a48581f5d0884cefb2116d5dde9feb (patch)
tree3cc18b7573d6225ffb16efb47d950a171eb9b4f6
parentfa124e58f7a54eb483b9e4d23ccbb23364250614 (diff)
Corrected internal function prototype.
-rw-r--r--src/video/SDL_sysvideo.h2
-rw-r--r--src/video/SDL_video.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video/SDL_sysvideo.h b/src/video/SDL_sysvideo.h
index 6e6f7d9f7a..63f088fffe 100644
--- a/src/video/SDL_sysvideo.h
+++ b/src/video/SDL_sysvideo.h
@@ -375,7 +375,7 @@ extern void SDL_OnWindowFocusLost(SDL_Window * window);
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 */
diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index 959f19dc1b..034486e632 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -3054,7 +3054,7 @@ SDL_ShowSimpleMessageBox(Uint32 flags, const char *title, const char *message, S
}
SDL_bool
-SDL_ShouldAllowTopmost()
+SDL_ShouldAllowTopmost(void)
{
const char *hint = SDL_GetHint(SDL_HINT_ALLOW_TOPMOST);
if (hint) {