platform/android_nosdl: fix forgotten static

This commit is contained in:
mittorn
2023-12-16 22:35:59 +03:00
committed by Alibek Omarov
parent 26cbb1d6bf
commit bd5309b018
4 changed files with 17 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ struct jnimethods_s jni;
struct jnimouse_s jnimouse;
static jmp_buf crash_frame, restore_frame;
char crash_text[1024];
static char crash_text[1024];
#define Android_Lock() pthread_mutex_lock(&events.mutex);
#define Android_Unlock() pthread_mutex_unlock(&events.mutex);

View File

@@ -48,7 +48,7 @@ static dllfunc_t egl_funcs[] =
{ NULL, NULL }
};
#undef EGL_FF
dll_info_t egl_info = { "libEGL.so", egl_funcs, false };
static dll_info_t egl_info = { "libEGL.so", egl_funcs, false };
struct eglstate_s eglstate;

View File

@@ -1,3 +1,17 @@
/*
eglutil.h - EGL context utility
Copyright (C) 2023 mittorn
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
#ifndef EGLUTIL_H
#define EGLUTIL_H
#include "platform/platform.h"

View File

@@ -45,7 +45,7 @@ static dllfunc_t android_funcs[] =
{ NULL, NULL }
};
#undef NW_FF
dll_info_t android_info = { "libandroid.so", android_funcs, false };
static dll_info_t android_info = { "libandroid.so", android_funcs, false };
/*
========================