Moved prototype for static function out of header file to prevent warnings.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 30 May 2013 23:25:03 +0200
changeset 7246 be3beed886ea
parent 7245 03d2c8cb205d
child 7247 6a4570f12c20
Moved prototype for static function out of header file to prevent warnings.
src/core/android/SDL_android.cpp
src/core/android/SDL_android.h
--- a/src/core/android/SDL_android.cpp	Thu May 30 23:08:35 2013 +0200
+++ b/src/core/android/SDL_android.cpp	Thu May 30 23:25:03 2013 +0200
@@ -50,6 +50,8 @@
 
 /* Implemented in audio/android/SDL_androidaudio.c */
 extern void Android_RunAudioThread();
+
+static void Android_JNI_ThreadDestroyed(void*);
 } // C
 
 /*******************************************************************************
--- a/src/core/android/SDL_android.h	Thu May 30 23:08:35 2013 +0200
+++ b/src/core/android/SDL_android.h	Thu May 30 23:25:03 2013 +0200
@@ -62,7 +62,6 @@
 
 /* Threads */
 #include <jni.h>
-static void Android_JNI_ThreadDestroyed(void*);
 JNIEnv *Android_JNI_GetEnv(void);
 int Android_JNI_SetupThread(void);