Forráskód Böngészése

main: Fixed compiler warning on Android.

(the NDK got upset about a function with void params using a bare `()`.)
Ryan C. Gordon 1 éve
szülő
commit
848dcf8a5f
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/main/SDL_main_callbacks.h

+ 1 - 1
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);