Corrected internal function prototype.

This commit is contained in:
Philipp Wiesemann 2013-05-15 22:25:00 +02:00
parent c5b6e3c9e1
commit 20ff4d06d8
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -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) {