diff --git a/src/SDL_dataqueue.c b/src/SDL_dataqueue.c index 8a7a38ba4..19e2eae12 100644 --- a/src/SDL_dataqueue.c +++ b/src/SDL_dataqueue.c @@ -18,11 +18,10 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "./SDL_internal.h" + #include "SDL.h" #include "./SDL_dataqueue.h" -#include "SDL_assert.h" typedef struct SDL_DataQueuePacket { diff --git a/src/SDL_internal.h b/src/SDL_internal.h index ec2759114..7601fd5c9 100644 --- a/src/SDL_internal.h +++ b/src/SDL_internal.h @@ -116,6 +116,7 @@ #define SDL_HAVE_YUV !SDL_LEAN_AND_MEAN #endif +#include "SDL_assert.h" #include "SDL_log.h" #endif /* SDL_internal_h_ */ diff --git a/src/audio/SDL_audiocvt.c b/src/audio/SDL_audiocvt.c index 7c0dd42c6..8f79ff384 100644 --- a/src/audio/SDL_audiocvt.c +++ b/src/audio/SDL_audiocvt.c @@ -30,7 +30,6 @@ #include "SDL_audio_c.h" #include "SDL_loadso.h" -#include "SDL_assert.h" #include "../SDL_dataqueue.h" #include "SDL_cpuinfo.h" diff --git a/src/audio/SDL_audiotypecvt.c b/src/audio/SDL_audiotypecvt.c index 357b2dc5f..410fb4702 100644 --- a/src/audio/SDL_audiotypecvt.c +++ b/src/audio/SDL_audiotypecvt.c @@ -18,12 +18,11 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "../SDL_internal.h" + #include "SDL_audio.h" #include "SDL_audio_c.h" #include "SDL_cpuinfo.h" -#include "SDL_assert.h" #ifdef __ARM_NEON #define HAVE_NEON_INTRINSICS 1 diff --git a/src/audio/alsa/SDL_alsa_audio.c b/src/audio/alsa/SDL_alsa_audio.c index 70b8496ef..6c0c32fcf 100644 --- a/src/audio/alsa/SDL_alsa_audio.c +++ b/src/audio/alsa/SDL_alsa_audio.c @@ -32,7 +32,6 @@ #include /* For kill() */ #include -#include "SDL_assert.h" #include "SDL_timer.h" #include "SDL_audio.h" #include "../SDL_audio_c.h" diff --git a/src/audio/android/SDL_androidaudio.c b/src/audio/android/SDL_androidaudio.c index 9881a455f..dbb9562cb 100644 --- a/src/audio/android/SDL_androidaudio.c +++ b/src/audio/android/SDL_androidaudio.c @@ -24,7 +24,6 @@ /* Output audio to Android */ -#include "SDL_assert.h" #include "SDL_audio.h" #include "../SDL_audio_c.h" #include "SDL_androidaudio.h" diff --git a/src/audio/coreaudio/SDL_coreaudio.m b/src/audio/coreaudio/SDL_coreaudio.m index 83250a42f..364816f6b 100644 --- a/src/audio/coreaudio/SDL_coreaudio.m +++ b/src/audio/coreaudio/SDL_coreaudio.m @@ -29,7 +29,6 @@ #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" #include "SDL_coreaudio.h" -#include "SDL_assert.h" #include "../../thread/SDL_systhread.h" #define DEBUG_COREAUDIO 0 diff --git a/src/audio/directsound/SDL_directsound.c b/src/audio/directsound/SDL_directsound.c index 856e11685..6d17d76cb 100644 --- a/src/audio/directsound/SDL_directsound.c +++ b/src/audio/directsound/SDL_directsound.c @@ -24,7 +24,6 @@ /* Allow access to a raw mixing buffer */ -#include "SDL_assert.h" #include "SDL_timer.h" #include "SDL_loadso.h" #include "SDL_audio.h" diff --git a/src/audio/emscripten/SDL_emscriptenaudio.c b/src/audio/emscripten/SDL_emscriptenaudio.c index db8de5240..3df6f7ebb 100644 --- a/src/audio/emscripten/SDL_emscriptenaudio.c +++ b/src/audio/emscripten/SDL_emscriptenaudio.c @@ -25,7 +25,6 @@ #include "SDL_audio.h" #include "../SDL_audio_c.h" #include "SDL_emscriptenaudio.h" -#include "SDL_assert.h" #include diff --git a/src/audio/haiku/SDL_haikuaudio.cc b/src/audio/haiku/SDL_haikuaudio.cc index 5fdb4cc65..318ebccd1 100644 --- a/src/audio/haiku/SDL_haikuaudio.cc +++ b/src/audio/haiku/SDL_haikuaudio.cc @@ -36,7 +36,6 @@ extern "C" #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" #include "SDL_haikuaudio.h" -#include "SDL_assert.h" } diff --git a/src/audio/jack/SDL_jackaudio.c b/src/audio/jack/SDL_jackaudio.c index aaef0dc95..ede60997f 100644 --- a/src/audio/jack/SDL_jackaudio.c +++ b/src/audio/jack/SDL_jackaudio.c @@ -18,12 +18,10 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "../../SDL_internal.h" #if SDL_AUDIO_DRIVER_JACK -#include "SDL_assert.h" #include "SDL_timer.h" #include "SDL_audio.h" #include "../SDL_audio_c.h" diff --git a/src/audio/openslES/SDL_openslES.c b/src/audio/openslES/SDL_openslES.c index b4b55069c..531d595e9 100644 --- a/src/audio/openslES/SDL_openslES.c +++ b/src/audio/openslES/SDL_openslES.c @@ -26,7 +26,6 @@ https://googlesamples.github.io/android-audio-high-performance/guides/opensl_es.html */ -#include "SDL_assert.h" #include "SDL_audio.h" #include "../SDL_audio_c.h" #include "../../core/android/SDL_android.h" diff --git a/src/audio/pulseaudio/SDL_pulseaudio.c b/src/audio/pulseaudio/SDL_pulseaudio.c index 7a3af7bcd..d74c66dc2 100644 --- a/src/audio/pulseaudio/SDL_pulseaudio.c +++ b/src/audio/pulseaudio/SDL_pulseaudio.c @@ -26,7 +26,6 @@ Stéphan Kochen: stephan .a.t. kochen.nl */ #include "../../SDL_internal.h" -#include "SDL_assert.h" #include "SDL_hints.h" #if SDL_AUDIO_DRIVER_PULSEAUDIO diff --git a/src/audio/wasapi/SDL_wasapi.c b/src/audio/wasapi/SDL_wasapi.c index b00cac528..abefcca21 100644 --- a/src/audio/wasapi/SDL_wasapi.c +++ b/src/audio/wasapi/SDL_wasapi.c @@ -18,7 +18,6 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "../../SDL_internal.h" #if SDL_AUDIO_DRIVER_WASAPI @@ -28,7 +27,6 @@ #include "SDL_timer.h" #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" -#include "SDL_assert.h" #define COBJMACROS #include diff --git a/src/audio/wasapi/SDL_wasapi_win32.c b/src/audio/wasapi/SDL_wasapi_win32.c index 4f8bb7cae..ac3f6161a 100644 --- a/src/audio/wasapi/SDL_wasapi_win32.c +++ b/src/audio/wasapi/SDL_wasapi_win32.c @@ -18,7 +18,6 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "../../SDL_internal.h" /* This is code that Windows uses to talk to WASAPI-related system APIs. @@ -34,7 +33,6 @@ #include "SDL_timer.h" #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" -#include "SDL_assert.h" #define COBJMACROS #include diff --git a/src/audio/wasapi/SDL_wasapi_winrt.cpp b/src/audio/wasapi/SDL_wasapi_winrt.cpp index b2f3abc90..8408abc2d 100644 --- a/src/audio/wasapi/SDL_wasapi_winrt.cpp +++ b/src/audio/wasapi/SDL_wasapi_winrt.cpp @@ -18,7 +18,6 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "../../SDL_internal.h" // This is C++/CX code that the WinRT port uses to talk to WASAPI-related @@ -40,7 +39,6 @@ extern "C" { #include "SDL_timer.h" #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" -#include "SDL_assert.h" } #define COBJMACROS diff --git a/src/audio/winmm/SDL_winmm.c b/src/audio/winmm/SDL_winmm.c index e9890d686..f266b1b3c 100644 --- a/src/audio/winmm/SDL_winmm.c +++ b/src/audio/winmm/SDL_winmm.c @@ -27,7 +27,6 @@ #include "../../core/windows/SDL_windows.h" #include -#include "SDL_assert.h" #include "SDL_timer.h" #include "SDL_audio.h" #include "../SDL_audio_c.h" diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index 520ad1ede..13216a82f 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -21,7 +21,6 @@ #include "../../SDL_internal.h" #include "SDL_stdinc.h" -#include "SDL_assert.h" #include "SDL_atomic.h" #include "SDL_hints.h" #include "SDL_main.h" diff --git a/src/core/linux/SDL_evdev.c b/src/core/linux/SDL_evdev.c index 1fdf24111..5c190b0e1 100644 --- a/src/core/linux/SDL_evdev.c +++ b/src/core/linux/SDL_evdev.c @@ -39,7 +39,6 @@ #include #include "SDL.h" -#include "SDL_assert.h" #include "SDL_endian.h" #include "SDL_scancode.h" #include "../../events/SDL_events_c.h" diff --git a/src/core/unix/SDL_poll.c b/src/core/unix/SDL_poll.c index 4b286ba8c..466957bb8 100644 --- a/src/core/unix/SDL_poll.c +++ b/src/core/unix/SDL_poll.c @@ -21,7 +21,6 @@ #include "../../SDL_internal.h" -#include "SDL_assert.h" #include "SDL_poll.h" #ifdef HAVE_POLL diff --git a/src/core/windows/SDL_hid.c b/src/core/windows/SDL_hid.c index 155d87a21..0fc33eb70 100644 --- a/src/core/windows/SDL_hid.c +++ b/src/core/windows/SDL_hid.c @@ -22,7 +22,6 @@ #ifndef __WINRT__ -#include "SDL_assert.h" #include "SDL_hid.h" diff --git a/src/core/windows/SDL_windows.c b/src/core/windows/SDL_windows.c index 7d684dae5..8e12f82a5 100644 --- a/src/core/windows/SDL_windows.c +++ b/src/core/windows/SDL_windows.c @@ -24,7 +24,6 @@ #include "SDL_windows.h" #include "SDL_error.h" -#include "SDL_assert.h" #include /* for CoInitialize/CoUninitialize (Win32 only) */ diff --git a/src/core/windows/SDL_xinput.c b/src/core/windows/SDL_xinput.c index b0963d0f4..9a2016452 100644 --- a/src/core/windows/SDL_xinput.c +++ b/src/core/windows/SDL_xinput.c @@ -20,7 +20,6 @@ */ #include "../../SDL_internal.h" -#include "SDL_assert.h" #include "SDL_xinput.h" diff --git a/src/core/winrt/SDL_winrtapp_direct3d.cpp b/src/core/winrt/SDL_winrtapp_direct3d.cpp index b64274789..114b9cb24 100644 --- a/src/core/winrt/SDL_winrtapp_direct3d.cpp +++ b/src/core/winrt/SDL_winrtapp_direct3d.cpp @@ -47,7 +47,6 @@ using namespace Windows::Phone::UI::Input; /* SDL includes */ extern "C" { -#include "SDL_assert.h" #include "SDL_events.h" #include "SDL_hints.h" #include "SDL_main.h" diff --git a/src/events/SDL_keyboard.c b/src/events/SDL_keyboard.c index 6820f0d91..16c1a29a7 100644 --- a/src/events/SDL_keyboard.c +++ b/src/events/SDL_keyboard.c @@ -25,7 +25,6 @@ #include "SDL_timer.h" #include "SDL_events.h" #include "SDL_events_c.h" -#include "SDL_assert.h" #include "../video/SDL_sysvideo.h" diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c index 50065e4e8..11d9f5ae0 100644 --- a/src/events/SDL_mouse.c +++ b/src/events/SDL_mouse.c @@ -22,7 +22,6 @@ /* General mouse handling code for SDL */ -#include "SDL_assert.h" #include "SDL_hints.h" #include "SDL_timer.h" #include "SDL_events.h" diff --git a/src/events/SDL_quit.c b/src/events/SDL_quit.c index 1260c1d7b..d210fdba0 100644 --- a/src/events/SDL_quit.c +++ b/src/events/SDL_quit.c @@ -19,8 +19,8 @@ 3. This notice may not be removed or altered from any source distribution. */ #include "../SDL_internal.h" + #include "SDL_hints.h" -#include "SDL_assert.h" /* General quit handling code for SDL */ diff --git a/src/events/SDL_touch.c b/src/events/SDL_touch.c index 5cc7ea3b1..2d76ad10d 100644 --- a/src/events/SDL_touch.c +++ b/src/events/SDL_touch.c @@ -22,7 +22,6 @@ /* General touch handling code for SDL */ -#include "SDL_assert.h" #include "SDL_events.h" #include "SDL_events_c.h" #include "../video/SDL_sysvideo.h" diff --git a/src/filesystem/haiku/SDL_sysfilesystem.cc b/src/filesystem/haiku/SDL_sysfilesystem.cc index e8c630e31..2557d7993 100644 --- a/src/filesystem/haiku/SDL_sysfilesystem.cc +++ b/src/filesystem/haiku/SDL_sysfilesystem.cc @@ -32,7 +32,6 @@ #include "SDL_error.h" #include "SDL_stdinc.h" -#include "SDL_assert.h" #include "SDL_filesystem.h" char * diff --git a/src/filesystem/windows/SDL_sysfilesystem.c b/src/filesystem/windows/SDL_sysfilesystem.c index c4e7d832e..fedf49567 100644 --- a/src/filesystem/windows/SDL_sysfilesystem.c +++ b/src/filesystem/windows/SDL_sysfilesystem.c @@ -28,7 +28,6 @@ #include "../../core/windows/SDL_windows.h" #include -#include "SDL_assert.h" #include "SDL_error.h" #include "SDL_stdinc.h" #include "SDL_filesystem.h" diff --git a/src/haptic/SDL_haptic.c b/src/haptic/SDL_haptic.c index 14713a8fe..6f7432d16 100644 --- a/src/haptic/SDL_haptic.c +++ b/src/haptic/SDL_haptic.c @@ -23,7 +23,6 @@ #include "SDL_syshaptic.h" #include "SDL_haptic_c.h" #include "../joystick/SDL_joystick_c.h" /* For SDL_PrivateJoystickValid */ -#include "SDL_assert.h" /* Global for SDL_windowshaptic.c */ #if (defined(SDL_HAPTIC_DINPUT) && SDL_HAPTIC_DINPUT) || (defined(SDL_HAPTIC_XINPUT) && SDL_HAPTIC_XINPUT) diff --git a/src/haptic/android/SDL_syshaptic.c b/src/haptic/android/SDL_syshaptic.c index 9e4788058..3d180eaf7 100644 --- a/src/haptic/android/SDL_syshaptic.c +++ b/src/haptic/android/SDL_syshaptic.c @@ -22,7 +22,6 @@ #ifdef SDL_HAPTIC_ANDROID -#include "SDL_assert.h" #include "SDL_timer.h" #include "SDL_syshaptic_c.h" #include "../SDL_syshaptic.h" diff --git a/src/haptic/darwin/SDL_syshaptic.c b/src/haptic/darwin/SDL_syshaptic.c index c486ebddb..f8a2af5df 100644 --- a/src/haptic/darwin/SDL_syshaptic.c +++ b/src/haptic/darwin/SDL_syshaptic.c @@ -22,7 +22,6 @@ #ifdef SDL_HAPTIC_IOKIT -#include "SDL_assert.h" #include "SDL_stdinc.h" #include "SDL_haptic.h" #include "../SDL_syshaptic.h" diff --git a/src/haptic/linux/SDL_syshaptic.c b/src/haptic/linux/SDL_syshaptic.c index 6e9533b66..0e160faec 100644 --- a/src/haptic/linux/SDL_syshaptic.c +++ b/src/haptic/linux/SDL_syshaptic.c @@ -22,7 +22,6 @@ #ifdef SDL_HAPTIC_LINUX -#include "SDL_assert.h" #include "SDL_haptic.h" #include "../SDL_syshaptic.h" #include "SDL_joystick.h" diff --git a/src/haptic/windows/SDL_windowshaptic.c b/src/haptic/windows/SDL_windowshaptic.c index 6488d5011..f837bb9e8 100644 --- a/src/haptic/windows/SDL_windowshaptic.c +++ b/src/haptic/windows/SDL_windowshaptic.c @@ -22,7 +22,6 @@ #if SDL_HAPTIC_DINPUT || SDL_HAPTIC_XINPUT -#include "SDL_assert.h" #include "SDL_thread.h" #include "SDL_mutex.h" #include "SDL_timer.h" diff --git a/src/haptic/windows/SDL_xinputhaptic.c b/src/haptic/windows/SDL_xinputhaptic.c index 97168f8d5..164b7894f 100644 --- a/src/haptic/windows/SDL_xinputhaptic.c +++ b/src/haptic/windows/SDL_xinputhaptic.c @@ -26,7 +26,6 @@ #if SDL_HAPTIC_XINPUT -#include "SDL_assert.h" #include "SDL_hints.h" #include "SDL_timer.h" #include "SDL_windowshaptic_c.h" diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c index fe5a788c8..a6674505a 100644 --- a/src/joystick/SDL_gamecontroller.c +++ b/src/joystick/SDL_gamecontroller.c @@ -23,7 +23,6 @@ /* This is the game controller API for Simple DirectMedia Layer */ #include "SDL_events.h" -#include "SDL_assert.h" #include "SDL_hints.h" #include "SDL_timer.h" #include "SDL_sysjoystick.h" diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index 7ea93b47c..32eb7c248 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -26,7 +26,6 @@ #include "SDL_atomic.h" #include "SDL_events.h" #include "SDL_sysjoystick.h" -#include "SDL_assert.h" #include "SDL_hints.h" #if !SDL_EVENTS_DISABLED diff --git a/src/joystick/android/SDL_sysjoystick.c b/src/joystick/android/SDL_sysjoystick.c index a226d3909..9b949d382 100644 --- a/src/joystick/android/SDL_sysjoystick.c +++ b/src/joystick/android/SDL_sysjoystick.c @@ -18,7 +18,6 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "../../SDL_internal.h" #ifdef SDL_JOYSTICK_ANDROID @@ -29,7 +28,6 @@ #include "SDL_joystick.h" #include "SDL_hints.h" -#include "SDL_assert.h" #include "SDL_timer.h" #include "SDL_sysjoystick_c.h" #include "../SDL_joystick_c.h" diff --git a/src/joystick/emscripten/SDL_sysjoystick.c b/src/joystick/emscripten/SDL_sysjoystick.c index cafea91f7..8651d42a1 100644 --- a/src/joystick/emscripten/SDL_sysjoystick.c +++ b/src/joystick/emscripten/SDL_sysjoystick.c @@ -28,7 +28,6 @@ #include "SDL_events.h" #include "SDL_joystick.h" -#include "SDL_assert.h" #include "SDL_timer.h" #include "SDL_sysjoystick_c.h" #include "../SDL_joystick_c.h" diff --git a/src/joystick/hidapi/SDL_hidapi_rumble.c b/src/joystick/hidapi/SDL_hidapi_rumble.c index a9477d985..3a3c2e243 100644 --- a/src/joystick/hidapi/SDL_hidapi_rumble.c +++ b/src/joystick/hidapi/SDL_hidapi_rumble.c @@ -24,7 +24,6 @@ /* Handle rumble on a separate thread so it doesn't block the application */ -#include "SDL_assert.h" #include "SDL_thread.h" #include "SDL_hidapijoystick_c.h" #include "SDL_hidapi_rumble.h" diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c index 3dc942fd9..c8683fe50 100644 --- a/src/joystick/hidapi/SDL_hidapijoystick.c +++ b/src/joystick/hidapi/SDL_hidapijoystick.c @@ -22,7 +22,6 @@ #ifdef SDL_JOYSTICK_HIDAPI -#include "SDL_assert.h" #include "SDL_atomic.h" #include "SDL_endian.h" #include "SDL_hints.h" diff --git a/src/joystick/iphoneos/SDL_mfijoystick.m b/src/joystick/iphoneos/SDL_mfijoystick.m index 224513cec..a9ddc09ca 100644 --- a/src/joystick/iphoneos/SDL_mfijoystick.m +++ b/src/joystick/iphoneos/SDL_mfijoystick.m @@ -21,7 +21,6 @@ #include "../../SDL_internal.h" /* This is the iOS implementation of the SDL joystick API */ -#include "SDL_assert.h" #include "SDL_events.h" #include "SDL_joystick.h" #include "SDL_hints.h" diff --git a/src/joystick/linux/SDL_sysjoystick.c b/src/joystick/linux/SDL_sysjoystick.c index 74ec5f994..d98ef59aa 100644 --- a/src/joystick/linux/SDL_sysjoystick.c +++ b/src/joystick/linux/SDL_sysjoystick.c @@ -40,7 +40,6 @@ #include #include -#include "SDL_assert.h" #include "SDL_hints.h" #include "SDL_joystick.h" #include "SDL_log.h" diff --git a/src/joystick/windows/SDL_rawinputjoystick.c b/src/joystick/windows/SDL_rawinputjoystick.c index 1e61098c5..b1fc8e12a 100644 --- a/src/joystick/windows/SDL_rawinputjoystick.c +++ b/src/joystick/windows/SDL_rawinputjoystick.c @@ -33,7 +33,6 @@ #if SDL_JOYSTICK_RAWINPUT -#include "SDL_assert.h" #include "SDL_endian.h" #include "SDL_events.h" #include "SDL_hints.h" diff --git a/src/joystick/windows/SDL_windowsjoystick.c b/src/joystick/windows/SDL_windowsjoystick.c index cbabba9e4..e586471e4 100644 --- a/src/joystick/windows/SDL_windowsjoystick.c +++ b/src/joystick/windows/SDL_windowsjoystick.c @@ -33,7 +33,6 @@ * let it return 0 events. */ #include "SDL_error.h" -#include "SDL_assert.h" #include "SDL_events.h" #include "SDL_timer.h" #include "SDL_mutex.h" diff --git a/src/joystick/windows/SDL_xinputjoystick.c b/src/joystick/windows/SDL_xinputjoystick.c index 77e06a650..30025428d 100644 --- a/src/joystick/windows/SDL_xinputjoystick.c +++ b/src/joystick/windows/SDL_xinputjoystick.c @@ -24,7 +24,6 @@ #if SDL_JOYSTICK_XINPUT -#include "SDL_assert.h" #include "SDL_hints.h" #include "SDL_timer.h" #include "SDL_windowsjoystick_c.h" diff --git a/src/locale/unix/SDL_syslocale.c b/src/locale/unix/SDL_syslocale.c index b8a2b4975..2a51f0c37 100644 --- a/src/locale/unix/SDL_syslocale.c +++ b/src/locale/unix/SDL_syslocale.c @@ -21,7 +21,6 @@ #include "../../SDL_internal.h" #include "../SDL_syslocale.h" -#include "SDL_assert.h" static void normalize_locale_str(char *dst, char *str, size_t buflen) diff --git a/src/locale/windows/SDL_syslocale.c b/src/locale/windows/SDL_syslocale.c index d4004ca54..1252046cf 100644 --- a/src/locale/windows/SDL_syslocale.c +++ b/src/locale/windows/SDL_syslocale.c @@ -22,7 +22,6 @@ #include "../../SDL_internal.h" #include "../../core/windows/SDL_windows.h" #include "../SDL_syslocale.h" -#include "SDL_assert.h" typedef BOOL (WINAPI *pfnGetUserPreferredUILanguages)(DWORD,PULONG,/*PZZWSTR*/WCHAR*,PULONG); #ifndef MUI_LANGUAGE_NAME diff --git a/src/power/uikit/SDL_syspower.m b/src/power/uikit/SDL_syspower.m index b77d99c5d..969628c2a 100644 --- a/src/power/uikit/SDL_syspower.m +++ b/src/power/uikit/SDL_syspower.m @@ -27,7 +27,6 @@ #include "SDL_power.h" #include "SDL_timer.h" -#include "SDL_assert.h" #include "SDL_syspower.h" #if !TARGET_OS_TV diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c index c9b195a4e..e80cf6c01 100644 --- a/src/render/SDL_render.c +++ b/src/render/SDL_render.c @@ -22,7 +22,6 @@ /* The SDL 2D rendering system */ -#include "SDL_assert.h" #include "SDL_hints.h" #include "SDL_render.h" #include "SDL_sysrender.h" diff --git a/src/render/SDL_yuv_sw.c b/src/render/SDL_yuv_sw.c index c0cae26b6..11b8b4ad5 100644 --- a/src/render/SDL_yuv_sw.c +++ b/src/render/SDL_yuv_sw.c @@ -24,7 +24,6 @@ #if SDL_HAVE_YUV -#include "SDL_assert.h" #include "SDL_yuv_sw_c.h" diff --git a/src/render/direct3d/SDL_render_d3d.c b/src/render/direct3d/SDL_render_d3d.c index 523830f73..709409157 100644 --- a/src/render/direct3d/SDL_render_d3d.c +++ b/src/render/direct3d/SDL_render_d3d.c @@ -30,7 +30,6 @@ #include "SDL_hints.h" #include "SDL_loadso.h" #include "SDL_syswm.h" -#include "SDL_assert.h" #include "../SDL_sysrender.h" #include "../SDL_d3dmath.h" #include "../../video/windows/SDL_windowsvideo.h" diff --git a/src/render/metal/SDL_render_metal.m b/src/render/metal/SDL_render_metal.m index dac7953dd..6760321e3 100644 --- a/src/render/metal/SDL_render_metal.m +++ b/src/render/metal/SDL_render_metal.m @@ -23,7 +23,6 @@ #if SDL_VIDEO_RENDER_METAL && !SDL_RENDER_DISABLED #include "SDL_hints.h" -#include "SDL_assert.h" #include "SDL_syswm.h" #include "SDL_metal.h" #include "../SDL_sysrender.h" diff --git a/src/render/opengl/SDL_render_gl.c b/src/render/opengl/SDL_render_gl.c index 3f5128c23..895a556c7 100644 --- a/src/render/opengl/SDL_render_gl.c +++ b/src/render/opengl/SDL_render_gl.c @@ -23,7 +23,6 @@ #if SDL_VIDEO_RENDER_OGL && !SDL_RENDER_DISABLED #include "SDL_hints.h" -#include "SDL_assert.h" #include "SDL_opengl.h" #include "../SDL_sysrender.h" #include "SDL_shaders_gl.h" diff --git a/src/render/opengles/SDL_render_gles.c b/src/render/opengles/SDL_render_gles.c index 205de59be..6bb3031e9 100644 --- a/src/render/opengles/SDL_render_gles.c +++ b/src/render/opengles/SDL_render_gles.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_RENDER_OGL_ES && !SDL_RENDER_DISABLED -#include "SDL_assert.h" #include "SDL_hints.h" #include "SDL_opengles.h" #include "../SDL_sysrender.h" diff --git a/src/render/opengles2/SDL_render_gles2.c b/src/render/opengles2/SDL_render_gles2.c index bc405b08b..38d1e4a44 100644 --- a/src/render/opengles2/SDL_render_gles2.c +++ b/src/render/opengles2/SDL_render_gles2.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED -#include "SDL_assert.h" #include "SDL_hints.h" #include "SDL_opengles2.h" #include "../SDL_sysrender.h" diff --git a/src/render/psp/SDL_render_psp.c b/src/render/psp/SDL_render_psp.c index 130699100..6aad21f6b 100644 --- a/src/render/psp/SDL_render_psp.c +++ b/src/render/psp/SDL_render_psp.c @@ -23,7 +23,6 @@ #if SDL_VIDEO_RENDER_PSP #include "SDL_hints.h" -#include "SDL_assert.h" #include "../SDL_sysrender.h" #include diff --git a/src/render/software/SDL_render_sw.c b/src/render/software/SDL_render_sw.c index b21fa2e83..18dc1808c 100644 --- a/src/render/software/SDL_render_sw.c +++ b/src/render/software/SDL_render_sw.c @@ -25,7 +25,6 @@ #include "../SDL_sysrender.h" #include "SDL_render_sw_c.h" #include "SDL_hints.h" -#include "SDL_assert.h" #include "SDL_draw.h" #include "SDL_blendfillrect.h" diff --git a/src/sensor/SDL_sensor.c b/src/sensor/SDL_sensor.c index 3eca78eea..ccf56d978 100644 --- a/src/sensor/SDL_sensor.c +++ b/src/sensor/SDL_sensor.c @@ -26,7 +26,6 @@ #include "SDL_atomic.h" #include "SDL_events.h" #include "SDL_syssensor.h" -#include "SDL_assert.h" #if !SDL_EVENTS_DISABLED #include "../events/SDL_events_c.h" diff --git a/src/stdlib/SDL_qsort.c b/src/stdlib/SDL_qsort.c index 060db214d..9dc3f4f96 100644 --- a/src/stdlib/SDL_qsort.c +++ b/src/stdlib/SDL_qsort.c @@ -26,7 +26,6 @@ #include "../SDL_internal.h" #include "SDL_stdinc.h" -#include "SDL_assert.h" #if defined(HAVE_QSORT) void diff --git a/src/thread/SDL_thread.c b/src/thread/SDL_thread.c index 55e48c3bc..5757ba000 100644 --- a/src/thread/SDL_thread.c +++ b/src/thread/SDL_thread.c @@ -22,7 +22,6 @@ /* System independent thread management routines for SDL */ -#include "SDL_assert.h" #include "SDL_thread.h" #include "SDL_thread_c.h" #include "SDL_systhread.h" diff --git a/src/thread/pthread/SDL_systhread.c b/src/thread/pthread/SDL_systhread.c index e4795a6c4..afed1d9c8 100644 --- a/src/thread/pthread/SDL_systhread.c +++ b/src/thread/pthread/SDL_systhread.c @@ -18,8 +18,8 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "../../SDL_internal.h" + #include "SDL_system.h" #include "SDL_hints.h" @@ -60,7 +60,6 @@ #include #endif -#include "SDL_assert.h" #ifndef __NACL__ /* List of signals to mask in the subthreads */ diff --git a/src/timer/unix/SDL_systimer.c b/src/timer/unix/SDL_systimer.c index bfe0fc40d..f6c986848 100644 --- a/src/timer/unix/SDL_systimer.c +++ b/src/timer/unix/SDL_systimer.c @@ -28,7 +28,6 @@ #include #include "SDL_timer.h" -#include "SDL_assert.h" #include "SDL_hints.h" #include "../SDL_timer_c.h" diff --git a/src/video/SDL_blit_N.c b/src/video/SDL_blit_N.c index 3722f239b..5199abe1d 100644 --- a/src/video/SDL_blit_N.c +++ b/src/video/SDL_blit_N.c @@ -27,7 +27,6 @@ #include "SDL_cpuinfo.h" #include "SDL_blit.h" -#include "SDL_assert.h" /* General optimized routines that write char by char */ #define HAVE_FAST_WRITE_INT8 1 diff --git a/src/video/SDL_bmp.c b/src/video/SDL_bmp.c index 40ac0eb50..cd7962809 100644 --- a/src/video/SDL_bmp.c +++ b/src/video/SDL_bmp.c @@ -34,7 +34,6 @@ #include "SDL_hints.h" #include "SDL_video.h" -#include "SDL_assert.h" #include "SDL_endian.h" #include "SDL_pixels_c.h" diff --git a/src/video/SDL_rect.c b/src/video/SDL_rect.c index ac5f0cbfa..b9aca3b53 100644 --- a/src/video/SDL_rect.c +++ b/src/video/SDL_rect.c @@ -22,7 +22,6 @@ #include "SDL_rect.h" #include "SDL_rect_c.h" -#include "SDL_assert.h" SDL_bool SDL_HasIntersection(const SDL_Rect * A, const SDL_Rect * B) diff --git a/src/video/SDL_shape.c b/src/video/SDL_shape.c index a58852d93..5c174bf16 100644 --- a/src/video/SDL_shape.c +++ b/src/video/SDL_shape.c @@ -21,7 +21,6 @@ #include "../SDL_internal.h" #include "SDL.h" -#include "SDL_assert.h" #include "SDL_video.h" #include "SDL_sysvideo.h" #include "SDL_pixels.h" diff --git a/src/video/android/SDL_androidvulkan.c b/src/video/android/SDL_androidvulkan.c index ef15fd5f1..776377f19 100644 --- a/src/video/android/SDL_androidvulkan.c +++ b/src/video/android/SDL_androidvulkan.c @@ -30,7 +30,6 @@ #include "SDL_androidvideo.h" #include "SDL_androidwindow.h" -#include "SDL_assert.h" #include "SDL_loadso.h" #include "SDL_androidvulkan.h" diff --git a/src/video/cocoa/SDL_cocoaevents.m b/src/video/cocoa/SDL_cocoaevents.m index e4e4d5cb8..a55e9d9d4 100644 --- a/src/video/cocoa/SDL_cocoaevents.m +++ b/src/video/cocoa/SDL_cocoaevents.m @@ -26,7 +26,6 @@ #include "SDL_cocoavideo.h" #include "../../events/SDL_events_c.h" -#include "SDL_assert.h" #include "SDL_hints.h" /* This define was added in the 10.9 SDK. */ diff --git a/src/video/cocoa/SDL_cocoametalview.m b/src/video/cocoa/SDL_cocoametalview.m index 291c55279..a55b6337a 100644 --- a/src/video/cocoa/SDL_cocoametalview.m +++ b/src/video/cocoa/SDL_cocoametalview.m @@ -24,12 +24,12 @@ * Thanks to Alex Szpakowski, @slime73 on GitHub, for his gist showing * how to add a CAMetalLayer backed view. */ +#include "../../SDL_internal.h" #import "SDL_cocoametalview.h" #if SDL_VIDEO_DRIVER_COCOA && (SDL_VIDEO_VULKAN || SDL_VIDEO_METAL) -#include "SDL_assert.h" #include "SDL_events.h" static int SDLCALL diff --git a/src/video/cocoa/SDL_cocoamodes.m b/src/video/cocoa/SDL_cocoamodes.m index 79210ffc0..c33ae2f24 100644 --- a/src/video/cocoa/SDL_cocoamodes.m +++ b/src/video/cocoa/SDL_cocoamodes.m @@ -19,7 +19,6 @@ 3. This notice may not be removed or altered from any source distribution. */ #include "../../SDL_internal.h" -#include "SDL_assert.h" #if SDL_VIDEO_DRIVER_COCOA diff --git a/src/video/cocoa/SDL_cocoamouse.m b/src/video/cocoa/SDL_cocoamouse.m index 98f23cbb5..4ce2c61e9 100644 --- a/src/video/cocoa/SDL_cocoamouse.m +++ b/src/video/cocoa/SDL_cocoamouse.m @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_COCOA -#include "SDL_assert.h" #include "SDL_events.h" #include "SDL_cocoamouse.h" #include "SDL_cocoamousetap.h" diff --git a/src/video/cocoa/SDL_cocoaopengles.m b/src/video/cocoa/SDL_cocoaopengles.m index cd578e0f4..0f551de10 100644 --- a/src/video/cocoa/SDL_cocoaopengles.m +++ b/src/video/cocoa/SDL_cocoaopengles.m @@ -25,7 +25,6 @@ #include "SDL_cocoavideo.h" #include "SDL_cocoaopengles.h" #include "SDL_cocoaopengl.h" -#include "SDL_assert.h" /* EGL implementation of SDL OpenGL support */ diff --git a/src/video/cocoa/SDL_cocoashape.m b/src/video/cocoa/SDL_cocoashape.m index e889835a9..3d03e3ca6 100644 --- a/src/video/cocoa/SDL_cocoashape.m +++ b/src/video/cocoa/SDL_cocoashape.m @@ -18,7 +18,6 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "../../SDL_internal.h" #if SDL_VIDEO_DRIVER_COCOA @@ -27,7 +26,6 @@ #include "SDL_shape.h" #include "SDL_cocoashape.h" #include "../SDL_sysvideo.h" -#include "SDL_assert.h" SDL_WindowShaper* Cocoa_CreateShaper(SDL_Window* window) diff --git a/src/video/cocoa/SDL_cocoavideo.m b/src/video/cocoa/SDL_cocoavideo.m index f9f05bf1d..de809da73 100644 --- a/src/video/cocoa/SDL_cocoavideo.m +++ b/src/video/cocoa/SDL_cocoavideo.m @@ -28,7 +28,6 @@ #include "SDL_cocoashape.h" #include "SDL_cocoavulkan.h" #include "SDL_cocoametalview.h" -#include "SDL_assert.h" /* Initialization/Query functions */ static int Cocoa_VideoInit(_THIS); diff --git a/src/video/cocoa/SDL_cocoavulkan.m b/src/video/cocoa/SDL_cocoavulkan.m index c8561299d..2af77ceb9 100644 --- a/src/video/cocoa/SDL_cocoavulkan.m +++ b/src/video/cocoa/SDL_cocoavulkan.m @@ -29,7 +29,6 @@ #include "SDL_cocoavideo.h" #include "SDL_cocoawindow.h" -#include "SDL_assert.h" #include "SDL_loadso.h" #include "SDL_cocoametalview.h" diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m index 79557ef28..e6128db4f 100644 --- a/src/video/cocoa/SDL_cocoawindow.m +++ b/src/video/cocoa/SDL_cocoawindow.m @@ -41,7 +41,6 @@ #include "SDL_cocoamousetap.h" #include "SDL_cocoaopengl.h" #include "SDL_cocoaopengles.h" -#include "SDL_assert.h" /* #define DEBUG_COCOAWINDOW */ diff --git a/src/video/directfb/SDL_DirectFB_mouse.c b/src/video/directfb/SDL_DirectFB_mouse.c index 7cda0eee0..f86e13dc4 100644 --- a/src/video/directfb/SDL_DirectFB_mouse.c +++ b/src/video/directfb/SDL_DirectFB_mouse.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_DIRECTFB -#include "SDL_assert.h" #include "SDL_DirectFB_video.h" #include "SDL_DirectFB_mouse.h" diff --git a/src/video/directfb/SDL_DirectFB_shape.c b/src/video/directfb/SDL_DirectFB_shape.c index 3009de3e7..153a0c8e6 100644 --- a/src/video/directfb/SDL_DirectFB_shape.c +++ b/src/video/directfb/SDL_DirectFB_shape.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_DIRECTFB -#include "SDL_assert.h" #include "SDL_DirectFB_video.h" #include "SDL_DirectFB_shape.h" #include "SDL_DirectFB_window.h" diff --git a/src/video/emscripten/SDL_emscriptenmouse.c b/src/video/emscripten/SDL_emscriptenmouse.c index 6ada7d9a3..8d9689612 100644 --- a/src/video/emscripten/SDL_emscriptenmouse.c +++ b/src/video/emscripten/SDL_emscriptenmouse.c @@ -18,8 +18,6 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - - #include "../../SDL_internal.h" #if SDL_VIDEO_DRIVER_EMSCRIPTEN @@ -31,7 +29,6 @@ #include "SDL_emscriptenvideo.h" #include "../../events/SDL_mouse_c.h" -#include "SDL_assert.h" static SDL_Cursor* Emscripten_CreateCursorFromString(const char* cursor_str, SDL_bool is_custom) diff --git a/src/video/kmsdrm/SDL_kmsdrmmouse.c b/src/video/kmsdrm/SDL_kmsdrmmouse.c index 3a164f240..a841d947f 100644 --- a/src/video/kmsdrm/SDL_kmsdrmmouse.c +++ b/src/video/kmsdrm/SDL_kmsdrmmouse.c @@ -19,7 +19,6 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ - #include "../../SDL_internal.h" #if SDL_VIDEO_DRIVER_KMSDRM @@ -27,7 +26,6 @@ #include "SDL_kmsdrmvideo.h" #include "SDL_kmsdrmmouse.h" #include "SDL_kmsdrmdyn.h" -#include "SDL_assert.h" #include "../../events/SDL_mouse_c.h" #include "../../events/default_cursor.h" diff --git a/src/video/raspberry/SDL_rpimouse.c b/src/video/raspberry/SDL_rpimouse.c index 378c30570..1ed140420 100644 --- a/src/video/raspberry/SDL_rpimouse.c +++ b/src/video/raspberry/SDL_rpimouse.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_RPI -#include "SDL_assert.h" #include "SDL_surface.h" #include "SDL_hints.h" diff --git a/src/video/uikit/SDL_uikitappdelegate.m b/src/video/uikit/SDL_uikitappdelegate.m index a77f2e0a0..4b6e16041 100644 --- a/src/video/uikit/SDL_uikitappdelegate.m +++ b/src/video/uikit/SDL_uikitappdelegate.m @@ -23,7 +23,6 @@ #if SDL_VIDEO_DRIVER_UIKIT #include "../SDL_sysvideo.h" -#include "SDL_assert.h" #include "SDL_hints.h" #include "SDL_system.h" #include "SDL_main.h" diff --git a/src/video/uikit/SDL_uikitmetalview.m b/src/video/uikit/SDL_uikitmetalview.m index 0882b39db..78c391d91 100644 --- a/src/video/uikit/SDL_uikitmetalview.m +++ b/src/video/uikit/SDL_uikitmetalview.m @@ -34,7 +34,6 @@ #import "SDL_uikitwindow.h" #import "SDL_uikitmetalview.h" -#include "SDL_assert.h" @implementation SDL_uikitmetalview diff --git a/src/video/uikit/SDL_uikitmodes.m b/src/video/uikit/SDL_uikitmodes.m index 98e470c9d..7ad4bcb19 100644 --- a/src/video/uikit/SDL_uikitmodes.m +++ b/src/video/uikit/SDL_uikitmodes.m @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_UIKIT -#include "SDL_assert.h" #include "SDL_system.h" #include "SDL_uikitmodes.h" diff --git a/src/video/uikit/SDL_uikitviewcontroller.m b/src/video/uikit/SDL_uikitviewcontroller.m index 45e8a5faf..d001e96f0 100644 --- a/src/video/uikit/SDL_uikitviewcontroller.m +++ b/src/video/uikit/SDL_uikitviewcontroller.m @@ -23,7 +23,6 @@ #if SDL_VIDEO_DRIVER_UIKIT #include "SDL_video.h" -#include "SDL_assert.h" #include "SDL_hints.h" #include "../SDL_sysvideo.h" #include "../../events/SDL_events_c.h" diff --git a/src/video/uikit/SDL_uikitvulkan.m b/src/video/uikit/SDL_uikitvulkan.m index 18970b783..a3692d34e 100644 --- a/src/video/uikit/SDL_uikitvulkan.m +++ b/src/video/uikit/SDL_uikitvulkan.m @@ -30,7 +30,6 @@ #include "SDL_uikitvideo.h" #include "SDL_uikitwindow.h" -#include "SDL_assert.h" #include "SDL_loadso.h" #include "SDL_uikitvulkan.h" diff --git a/src/video/uikit/SDL_uikitwindow.m b/src/video/uikit/SDL_uikitwindow.m index 4c42b988e..41b6e4073 100644 --- a/src/video/uikit/SDL_uikitwindow.m +++ b/src/video/uikit/SDL_uikitwindow.m @@ -25,7 +25,6 @@ #include "SDL_syswm.h" #include "SDL_video.h" #include "SDL_mouse.h" -#include "SDL_assert.h" #include "SDL_hints.h" #include "../SDL_sysvideo.h" #include "../SDL_pixels_c.h" diff --git a/src/video/vivante/SDL_vivantevulkan.c b/src/video/vivante/SDL_vivantevulkan.c index ac1568e81..7c86bc9d9 100644 --- a/src/video/vivante/SDL_vivantevulkan.c +++ b/src/video/vivante/SDL_vivantevulkan.c @@ -30,7 +30,6 @@ #if SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_VIVANTE #include "SDL_vivantevideo.h" -#include "SDL_assert.h" #include "SDL_loadso.h" #include "SDL_vivantevulkan.h" diff --git a/src/video/wayland/SDL_waylanddatamanager.c b/src/video/wayland/SDL_waylanddatamanager.c index c72c19aa4..af46e29bc 100644 --- a/src/video/wayland/SDL_waylanddatamanager.c +++ b/src/video/wayland/SDL_waylanddatamanager.c @@ -29,7 +29,6 @@ #include #include "SDL_stdinc.h" -#include "SDL_assert.h" #include "../../core/unix/SDL_poll.h" #include "SDL_waylandvideo.h" diff --git a/src/video/wayland/SDL_waylandevents.c b/src/video/wayland/SDL_waylandevents.c index 64dd4e798..0d57cbfa4 100644 --- a/src/video/wayland/SDL_waylandevents.c +++ b/src/video/wayland/SDL_waylandevents.c @@ -24,7 +24,6 @@ #if SDL_VIDEO_DRIVER_WAYLAND #include "SDL_stdinc.h" -#include "SDL_assert.h" #include "SDL_timer.h" #include "../../core/unix/SDL_poll.h" diff --git a/src/video/wayland/SDL_waylandmouse.c b/src/video/wayland/SDL_waylandmouse.c index 77c0c5451..560f98e60 100644 --- a/src/video/wayland/SDL_waylandmouse.c +++ b/src/video/wayland/SDL_waylandmouse.c @@ -40,7 +40,6 @@ #include "SDL_waylanddyn.h" #include "wayland-cursor.h" -#include "SDL_assert.h" typedef struct { diff --git a/src/video/wayland/SDL_waylandvulkan.c b/src/video/wayland/SDL_waylandvulkan.c index 26c11045d..a67058fef 100644 --- a/src/video/wayland/SDL_waylandvulkan.c +++ b/src/video/wayland/SDL_waylandvulkan.c @@ -30,7 +30,6 @@ #include "SDL_waylandvideo.h" #include "SDL_waylandwindow.h" -#include "SDL_assert.h" #include "SDL_loadso.h" #include "SDL_waylandvulkan.h" diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c index 553fe00b6..041d055ab 100644 --- a/src/video/windows/SDL_windowsevents.c +++ b/src/video/windows/SDL_windowsevents.c @@ -32,7 +32,6 @@ #include "../../events/SDL_events_c.h" #include "../../events/SDL_touch_c.h" #include "../../events/scancodes_windows.h" -#include "SDL_assert.h" #include "SDL_hints.h" /* Dropfile support */ diff --git a/src/video/windows/SDL_windowsmessagebox.c b/src/video/windows/SDL_windowsmessagebox.c index 73b180cbe..1a7dcada1 100644 --- a/src/video/windows/SDL_windowsmessagebox.c +++ b/src/video/windows/SDL_windowsmessagebox.c @@ -31,7 +31,6 @@ #include "../../core/windows/SDL_windows.h" -#include "SDL_assert.h" #include "SDL_windowsvideo.h" #include "SDL_windowstaskdialog.h" diff --git a/src/video/windows/SDL_windowsmodes.c b/src/video/windows/SDL_windowsmodes.c index d88dcab11..d3af5b1e1 100644 --- a/src/video/windows/SDL_windowsmodes.c +++ b/src/video/windows/SDL_windowsmodes.c @@ -23,7 +23,6 @@ #if SDL_VIDEO_DRIVER_WINDOWS #include "SDL_windowsvideo.h" -#include "../../../include/SDL_assert.h" /* Windows CE compatibility */ #ifndef CDS_FULLSCREEN diff --git a/src/video/windows/SDL_windowsmouse.c b/src/video/windows/SDL_windowsmouse.c index ddbdf5348..826cbb2cf 100644 --- a/src/video/windows/SDL_windowsmouse.c +++ b/src/video/windows/SDL_windowsmouse.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_WINDOWS -#include "SDL_assert.h" #include "SDL_windowsvideo.h" #include "../../events/SDL_mouse_c.h" diff --git a/src/video/windows/SDL_windowsopengl.c b/src/video/windows/SDL_windowsopengl.c index cd87eead3..e0a4ba7d0 100644 --- a/src/video/windows/SDL_windowsopengl.c +++ b/src/video/windows/SDL_windowsopengl.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_WINDOWS -#include "SDL_assert.h" #include "SDL_loadso.h" #include "SDL_windowsvideo.h" #include "SDL_windowsopengles.h" diff --git a/src/video/windows/SDL_windowsopengles.c b/src/video/windows/SDL_windowsopengles.c index fbb1a7b0a..5ee46d83c 100644 --- a/src/video/windows/SDL_windowsopengles.c +++ b/src/video/windows/SDL_windowsopengles.c @@ -25,7 +25,6 @@ #include "SDL_windowsvideo.h" #include "SDL_windowsopengles.h" #include "SDL_windowsopengl.h" -#include "SDL_assert.h" /* EGL implementation of SDL OpenGL support */ diff --git a/src/video/windows/SDL_windowsshape.c b/src/video/windows/SDL_windowsshape.c index 1eb2e5068..953cb2478 100644 --- a/src/video/windows/SDL_windowsshape.c +++ b/src/video/windows/SDL_windowsshape.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_WINDOWS -#include "SDL_assert.h" #include "SDL_windowsshape.h" #include "SDL_windowsvideo.h" diff --git a/src/video/windows/SDL_windowsvulkan.c b/src/video/windows/SDL_windowsvulkan.c index dc95c622b..803f8db82 100644 --- a/src/video/windows/SDL_windowsvulkan.c +++ b/src/video/windows/SDL_windowsvulkan.c @@ -30,7 +30,6 @@ #include "SDL_windowsvideo.h" #include "SDL_windowswindow.h" -#include "SDL_assert.h" #include "SDL_loadso.h" #include "SDL_windowsvulkan.h" diff --git a/src/video/windows/SDL_windowswindow.c b/src/video/windows/SDL_windowswindow.c index dd21315a8..61f12eda2 100644 --- a/src/video/windows/SDL_windowswindow.c +++ b/src/video/windows/SDL_windowswindow.c @@ -24,7 +24,6 @@ #include "../../core/windows/SDL_windows.h" -#include "SDL_assert.h" #include "../SDL_sysvideo.h" #include "../SDL_pixels_c.h" #include "../../events/SDL_keyboard_c.h" diff --git a/src/video/winrt/SDL_winrtevents.cpp b/src/video/winrt/SDL_winrtevents.cpp index b98546299..b887547d5 100644 --- a/src/video/winrt/SDL_winrtevents.cpp +++ b/src/video/winrt/SDL_winrtevents.cpp @@ -36,7 +36,6 @@ using Windows::UI::Core::CoreCursor; #include "../../core/winrt/SDL_winrtapp_common.h" #include "../../core/winrt/SDL_winrtapp_direct3d.h" #include "../../core/winrt/SDL_winrtapp_xaml.h" -#include "SDL_assert.h" #include "SDL_system.h" extern "C" { diff --git a/src/video/winrt/SDL_winrtmouse.cpp b/src/video/winrt/SDL_winrtmouse.cpp index 8284f1eaf..7dd5eff52 100644 --- a/src/video/winrt/SDL_winrtmouse.cpp +++ b/src/video/winrt/SDL_winrtmouse.cpp @@ -34,7 +34,6 @@ using Windows::UI::Core::CoreCursor; * SDL includes: */ extern "C" { -#include "SDL_assert.h" #include "../../events/SDL_mouse_c.h" #include "../../events/SDL_touch_c.h" #include "../SDL_sysvideo.h" diff --git a/src/video/winrt/SDL_winrtpointerinput.cpp b/src/video/winrt/SDL_winrtpointerinput.cpp index 94663ffac..9b36aaaad 100644 --- a/src/video/winrt/SDL_winrtpointerinput.cpp +++ b/src/video/winrt/SDL_winrtpointerinput.cpp @@ -26,7 +26,6 @@ #include "SDL_winrtevents_c.h" #include "SDL_winrtmouse_c.h" #include "SDL_winrtvideo_cpp.h" -#include "SDL_assert.h" #include "SDL_system.h" extern "C" { diff --git a/src/video/x11/SDL_x11events.c b/src/video/x11/SDL_x11events.c index 12030fb69..ea7292740 100644 --- a/src/video/x11/SDL_x11events.c +++ b/src/video/x11/SDL_x11events.c @@ -39,7 +39,6 @@ #include "SDL_hints.h" #include "SDL_timer.h" #include "SDL_syswm.h" -#include "SDL_assert.h" #include diff --git a/src/video/x11/SDL_x11messagebox.c b/src/video/x11/SDL_x11messagebox.c index 41817cffe..5f8825a2c 100644 --- a/src/video/x11/SDL_x11messagebox.c +++ b/src/video/x11/SDL_x11messagebox.c @@ -26,7 +26,6 @@ #include "SDL.h" #include "SDL_x11video.h" #include "SDL_x11dyn.h" -#include "SDL_assert.h" #include "SDL_x11messagebox.h" #include diff --git a/src/video/x11/SDL_x11mouse.c b/src/video/x11/SDL_x11mouse.c index 4d653482e..3082d194d 100644 --- a/src/video/x11/SDL_x11mouse.c +++ b/src/video/x11/SDL_x11mouse.c @@ -23,7 +23,6 @@ #if SDL_VIDEO_DRIVER_X11 #include -#include "SDL_assert.h" #include "SDL_x11video.h" #include "SDL_x11mouse.h" #include "SDL_x11xinput2.h" diff --git a/src/video/x11/SDL_x11opengl.c b/src/video/x11/SDL_x11opengl.c index c65db63d1..07a71c0ba 100644 --- a/src/video/x11/SDL_x11opengl.c +++ b/src/video/x11/SDL_x11opengl.c @@ -23,7 +23,6 @@ #if SDL_VIDEO_DRIVER_X11 #include "SDL_x11video.h" -#include "SDL_assert.h" #include "SDL_hints.h" /* GLX implementation of SDL OpenGL support */ diff --git a/src/video/x11/SDL_x11shape.c b/src/video/x11/SDL_x11shape.c index 666f5a404..b55ac2c65 100644 --- a/src/video/x11/SDL_x11shape.c +++ b/src/video/x11/SDL_x11shape.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_X11 -#include "SDL_assert.h" #include "SDL_x11video.h" #include "SDL_x11shape.h" #include "SDL_x11window.h" diff --git a/src/video/x11/SDL_x11vulkan.c b/src/video/x11/SDL_x11vulkan.c index 2ca8ce85f..286da7242 100644 --- a/src/video/x11/SDL_x11vulkan.c +++ b/src/video/x11/SDL_x11vulkan.c @@ -23,7 +23,6 @@ #if SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_X11 #include "SDL_x11video.h" -#include "SDL_assert.h" #include "SDL_loadso.h" #include "SDL_x11vulkan.h" diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c index b9a59ff8a..ef4fd8877 100644 --- a/src/video/x11/SDL_x11window.c +++ b/src/video/x11/SDL_x11window.c @@ -22,7 +22,6 @@ #if SDL_VIDEO_DRIVER_X11 -#include "SDL_assert.h" #include "SDL_hints.h" #include "../SDL_sysvideo.h" #include "../SDL_pixels_c.h"