SDL2/src
Sam Lantinga 9c9e6e3aa3 Fixed compiler warning
```
 ./src/joystick/SDL_joystick.c:105:12: warning: no previous extern declaration for non-static variable 'SDL_joystick_lock' [-Wmissing-variable-declarations]
SDL_mutex *SDL_joystick_lock = NULL; /* This needs to support recursive locks */
           ^
./src/joystick/SDL_joystick.c:105:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
SDL_mutex *SDL_joystick_lock = NULL; /* This needs to support recursive locks */
^
```
1 warning generated.

(cherry picked from commit 3b0cd44158)
2022-12-17 06:54:33 -08:00
..
atomic Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
audio Android audio device selection (#6824) 2022-12-16 16:40:02 +01:00
core Android audio device selection (#6824) 2022-12-16 16:40:02 +01:00
cpuinfo Fix warnings 'macro argument should be enclosed in parentheses' 2022-12-05 09:06:44 -08:00
dynapi Unify all the SDL_*RunApp() functions into just SDL_RunApp() 2022-12-15 08:01:01 -08:00
events Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
file rwops: Removed unused variable in Windows-specific code. 2022-12-15 00:09:32 -05:00
filesystem SDL_sysfilesystem.c (SDL_GetBasePath): fixed the solaris code path. 2022-12-02 06:23:30 +03:00
haptic Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
hidapi Convert ticks to 64-bit, added nanosecond precision to the API 2022-12-02 12:37:41 -08:00
joystick Fixed compiler warning 2022-12-17 06:54:33 -08:00
libm Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
loadso Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
locale Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
main/winrt Remove SDL3_main from build systems, remove most of src/main/* 2022-12-15 08:01:01 -08:00
misc Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
power Convert ticks to 64-bit, added nanosecond precision to the API 2022-12-02 12:37:41 -08:00
render render: Remove SDL_GetRenderDriverInfo and change SDL_CreateRenderer. 2022-12-13 23:27:35 -05:00
sensor Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
stdlib Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
test render: Remove SDL_GetRenderDriverInfo and change SDL_CreateRenderer. 2022-12-13 23:27:35 -05:00
thread Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
timer Don't assume evdev events and SDL_GetTicks() use the same time source 2022-12-05 10:40:16 -08:00
video Move src/main/haiku/ to src/core/ 2022-12-15 08:01:01 -08:00
SDL.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_assert.c Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
SDL_assert_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_dataqueue.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_dataqueue.h Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_error.c Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
SDL_error_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_guid.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_hints.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_hints_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_internal.h Make WinRT's SDL_main header-only 2022-12-15 08:01:01 -08:00
SDL_intrin.h Move intrinsic includes into a private header 2022-12-04 09:34:10 -08:00
SDL_list.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_list.h Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_log.c Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
SDL_log_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_utils.c Fixed declaration-after-statement warning 2022-07-18 07:31:23 -07:00
SDL_utils_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00