Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Moved prototype for static function out of header file to prevent war…
Browse files Browse the repository at this point in the history
…nings.
  • Loading branch information
philippwiesemann committed May 30, 2013
1 parent ec8ce85 commit f01a0a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/core/android/SDL_android.cpp
Expand Up @@ -50,6 +50,8 @@ extern "C" {

/* Implemented in audio/android/SDL_androidaudio.c */
extern void Android_RunAudioThread();

static void Android_JNI_ThreadDestroyed(void*);
} // C

/*******************************************************************************
Expand Down
1 change: 0 additions & 1 deletion src/core/android/SDL_android.h
Expand Up @@ -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);

Expand Down

0 comments on commit f01a0a5

Please sign in to comment.