From 848dcf8a5fdfdd3dfbd1aabccb66794769d086bf Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 18 Feb 2024 00:49:20 -0500 Subject: [PATCH] main: Fixed compiler warning on Android. (the NDK got upset about a function with void params using a bare `()`.) --- src/main/SDL_main_callbacks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/SDL_main_callbacks.h b/src/main/SDL_main_callbacks.h index 5a906cfc8e..54cda2fca2 100644 --- a/src/main/SDL_main_callbacks.h +++ b/src/main/SDL_main_callbacks.h @@ -22,7 +22,7 @@ #ifndef SDL_main_callbacks_h_ #define SDL_main_callbacks_h_ -SDL_bool SDL_HasMainCallbacks(); +SDL_bool SDL_HasMainCallbacks(void); int SDL_InitMainCallbacks(int argc, char *argv[], SDL_AppInit_func appinit, SDL_AppIterate_func _appiter, SDL_AppEvent_func _appevent, SDL_AppQuit_func _appquit); int SDL_IterateMainCallbacks(SDL_bool pump_events); void SDL_QuitMainCallbacks(void);