From 2161b03cf0ea0d2b6025d1a1a53011ffb48cdf1d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 2 May 2015 00:25:55 +0200 Subject: [PATCH] Move variables to platform_android.c --- frontend/drivers/android_native_app_glue.c | 3 --- frontend/drivers/platform_android.c | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/drivers/android_native_app_glue.c b/frontend/drivers/android_native_app_glue.c index d4cb452145..6e12559bc9 100644 --- a/frontend/drivers/android_native_app_glue.c +++ b/frontend/drivers/android_native_app_glue.c @@ -17,9 +17,6 @@ #include "platform_android.h" -struct android_app *g_android; -struct android_app_userdata *g_android_userdata; - static void free_saved_state(struct android_app* android_app) { pthread_mutex_lock(&android_app->mutex); diff --git a/frontend/drivers/platform_android.c b/frontend/drivers/platform_android.c index 7cb71d8ccc..908d206dc3 100644 --- a/frontend/drivers/platform_android.c +++ b/frontend/drivers/platform_android.c @@ -29,6 +29,9 @@ static pthread_key_t thread_key; +struct android_app *g_android; +struct android_app_userdata *g_android_userdata; + JNIEnv *jni_thread_getenv(void) { JNIEnv *env;