Moved prototype for static function out of header file to prevent warnings.

This commit is contained in:
Philipp Wiesemann 2013-05-30 23:25:03 +02:00
parent f2763e240d
commit 9afcdd0a14
2 changed files with 2 additions and 1 deletions

View file

@ -50,6 +50,8 @@ extern "C" {
/* Implemented in audio/android/SDL_androidaudio.c */
extern void Android_RunAudioThread();
static void Android_JNI_ThreadDestroyed(void*);
} // C
/*******************************************************************************

View file

@ -62,7 +62,6 @@ int Android_JNI_GetPowerInfo(int* plugged, int* charged, int* battery, int* seco
/* Threads */
#include <jni.h>
static void Android_JNI_ThreadDestroyed(void*);
JNIEnv *Android_JNI_GetEnv(void);
int Android_JNI_SetupThread(void);