Fixed warning: this function declaration is not a prototype

main
Sam Lantinga 2023-09-18 13:09:28 -07:00
parent a72dfa6a5f
commit fca2f53189
2 changed files with 2 additions and 2 deletions

View File

@ -544,7 +544,7 @@ extern void SDL_OnWindowFocusGained(SDL_Window *window);
extern void SDL_OnWindowFocusLost(SDL_Window *window); extern void SDL_OnWindowFocusLost(SDL_Window *window);
extern void SDL_OnWindowDisplayChanged(SDL_Window *window); extern void SDL_OnWindowDisplayChanged(SDL_Window *window);
extern void SDL_UpdateWindowGrab(SDL_Window *window); extern void SDL_UpdateWindowGrab(SDL_Window *window);
extern SDL_Window *SDL_GetToplevelForKeyboardFocus(); extern SDL_Window *SDL_GetToplevelForKeyboardFocus(void);
extern SDL_bool SDL_ShouldAllowTopmost(void); extern SDL_bool SDL_ShouldAllowTopmost(void);

View File

@ -3561,7 +3561,7 @@ void SDL_OnWindowFocusLost(SDL_Window *window)
} }
} }
SDL_Window *SDL_GetToplevelForKeyboardFocus() SDL_Window *SDL_GetToplevelForKeyboardFocus(void)
{ {
SDL_Window *focus = SDL_GetKeyboardFocus(); SDL_Window *focus = SDL_GetKeyboardFocus();