From f01a0a5b5e80213bcca5cf0803bc8c98ca83b312 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Thu, 30 May 2013 23:25:03 +0200 Subject: [PATCH] Moved prototype for static function out of header file to prevent warnings. --- src/core/android/SDL_android.cpp | 2 ++ src/core/android/SDL_android.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/android/SDL_android.cpp b/src/core/android/SDL_android.cpp index 6fbb678fd..5b0197fdd 100644 --- a/src/core/android/SDL_android.cpp +++ b/src/core/android/SDL_android.cpp @@ -50,6 +50,8 @@ extern "C" { /* Implemented in audio/android/SDL_androidaudio.c */ extern void Android_RunAudioThread(); + +static void Android_JNI_ThreadDestroyed(void*); } // C /******************************************************************************* diff --git a/src/core/android/SDL_android.h b/src/core/android/SDL_android.h index 0d5595dde..d53652f88 100644 --- a/src/core/android/SDL_android.h +++ b/src/core/android/SDL_android.h @@ -62,7 +62,6 @@ int Android_JNI_GetPowerInfo(int* plugged, int* charged, int* battery, int* seco /* Threads */ #include -static void Android_JNI_ThreadDestroyed(void*); JNIEnv *Android_JNI_GetEnv(void); int Android_JNI_SetupThread(void);