summaryrefslogtreecommitdiff
path: root/src/video/SDL_video.c
diff options
context:
space:
mode:
authorAlex Szpakowski <slime73@gmail.com>2017-07-15 17:41:58 -0300
committerAlex Szpakowski <slime73@gmail.com>2017-07-15 17:41:58 -0300
commit34e36b1491b429f7aecba8d497b5f3b926d73a2b (patch)
tree7c81d873a97aca485e9853be2674a35d1eceb048 /src/video/SDL_video.c
parent4dc5989c2ab312497b2bfea0976ce67505517a42 (diff)
downloadsdl-34e36b1491b429f7aecba8d497b5f3b926d73a2b.tar.gz
iOS: Use modern replacements for deprecated functions, when available.
Diffstat (limited to 'src/video/SDL_video.c')
-rw-r--r--src/video/SDL_video.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index 7b1bffdce..ab3a8efb5 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -3863,17 +3863,17 @@ SDL_ComputeDiagonalDPI(int hpix, int vpix, float hinches, float vinches)
/*
* Functions used by iOS application delegates
*/
-void SDL_OnApplicationWillTerminate()
+void SDL_OnApplicationWillTerminate(void)
{
SDL_SendAppEvent(SDL_APP_TERMINATING);
}
-void SDL_OnApplicationDidReceiveMemoryWarning()
+void SDL_OnApplicationDidReceiveMemoryWarning(void)
{
SDL_SendAppEvent(SDL_APP_LOWMEMORY);
}
-void SDL_OnApplicationWillResignActive()
+void SDL_OnApplicationWillResignActive(void)
{
if (_this) {
SDL_Window *window;
@@ -3885,17 +3885,17 @@ void SDL_OnApplicationWillResignActive()
SDL_SendAppEvent(SDL_APP_WILLENTERBACKGROUND);
}
-void SDL_OnApplicationDidEnterBackground()
+void SDL_OnApplicationDidEnterBackground(void)
{
SDL_SendAppEvent(SDL_APP_DIDENTERBACKGROUND);
}
-void SDL_OnApplicationWillEnterForeground()
+void SDL_OnApplicationWillEnterForeground(void)
{
SDL_SendAppEvent(SDL_APP_WILLENTERFOREGROUND);
}
-void SDL_OnApplicationDidBecomeActive()
+void SDL_OnApplicationDidBecomeActive(void)
{
SDL_SendAppEvent(SDL_APP_DIDENTERFOREGROUND);