diff --git a/engine/platform/android/android_nosdl.c b/engine/platform/android/android_nosdl.c index 0e5e4a4ca1..ef4fa9e798 100644 --- a/engine/platform/android/android_nosdl.c +++ b/engine/platform/android/android_nosdl.c @@ -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); diff --git a/engine/platform/android/eglutil.c b/engine/platform/android/eglutil.c index 17c4335186..2011adb7ad 100644 --- a/engine/platform/android/eglutil.c +++ b/engine/platform/android/eglutil.c @@ -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; diff --git a/engine/platform/android/eglutil.h b/engine/platform/android/eglutil.h index ce30bfa3ea..a9ba5cf21b 100644 --- a/engine/platform/android/eglutil.h +++ b/engine/platform/android/eglutil.h @@ -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" diff --git a/engine/platform/android/vid_android.c b/engine/platform/android/vid_android.c index d633ce3fe1..6ba98d0412 100644 --- a/engine/platform/android/vid_android.c +++ b/engine/platform/android/vid_android.c @@ -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 }; /* ========================