diff --git a/src/SDL_dataqueue.c b/src/SDL_dataqueue.c index 8a7a38ba45..19e2eae12d 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 ec2759114f..7601fd5c92 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 7c0dd42c69..8f79ff3848 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 357b2dc5fc..410fb47022 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 70b8496efc..6c0c32fcff 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 9881a455f4..dbb9562cb6 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 83250a42fc..364816f6b1 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 856e116851..6d17d76cb8 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 db8de5240e..3df6f7ebb4 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 5fdb4cc65c..318ebccd15 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 aaef0dc956..ede60997fd 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 b4b55069c5..531d595e97 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 7a3af7bcde..d74c66dc29 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 b00cac528e..abefcca215 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 4f8bb7cae4..ac3f6161a0 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 b2f3abc90c..8408abc2d5 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 e9890d686a..f266b1b3c8 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 520ad1ede6..13216a82fd 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 1fdf24111c..5c190b0e18 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 4b286ba8ca..466957bb82 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 155d87a211..0fc33eb704 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 7d684dae5c..8e12f82a53 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 b0963d0f44..9a20164529 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 b642747892..114b9cb245 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 6820f0d91f..16c1a29a74 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 50065e4e83..11d9f5ae04 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 1260c1d7b7..d210fdba02 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 5cc7ea3b17..2d76ad10df 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 e8c630e315..2557d79935 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 c4e7d832e4..fedf49567c 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 14713a8fe9..6f7432d167 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 9e4788058b..3d180eaf73 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 c486ebddb4..f8a2af5dfb 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 6e9533b66f..0e160faec5 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 6488d50115..f837bb9e84 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 97168f8d57..164b7894fc 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 fe5a788c86..a6674505ac 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 7ea93b47c0..32eb7c248d 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 a226d3909a..9b949d3822 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 cafea91f76..8651d42a1c 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 a9477d985f..3a3c2e2433 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 3dc942fd98..c8683fe503 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 224513cec1..a9ddc09caa 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 74ec5f9949..d98ef59aa0 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 1e61098c5b..b1fc8e12a9 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 cbabba9e47..e586471e45 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 77e06a650e..30025428d1 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 b8a2b4975b..2a51f0c37d 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 d4004ca546..1252046cf1 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 b77d99c5dd..969628c2af 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 c9b195a4e8..e80cf6c017 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 c0cae26b60..11b8b4ad54 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 523830f73f..709409157f 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 dac7953dd8..6760321e3a 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 3f5128c234..895a556c7b 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 205de59be0..6bb3031e93 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 bc405b08be..38d1e4a449 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 1306991004..6aad21f6b5 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 b21fa2e835..18dc1808ce 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 3eca78eea6..ccf56d9789 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 060db214d6..9dc3f4f967 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 55e48c3bcb..5757ba0004 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 e4795a6c4e..afed1d9c86 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 bfe0fc40d1..f6c9868482 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 3722f239be..5199abe1d8 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 40ac0eb50d..cd79628094 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 ac5f0cbfa0..b9aca3b53c 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 a58852d935..5c174bf160 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 ef15fd5f1b..776377f194 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 e4e4d5cb89..a55e9d9d4a 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 291c552799..a55b6337ab 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 79210ffc06..c33ae2f242 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 98f23cbb52..4ce2c61e97 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 cd578e0f43..0f551de10c 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 e889835a99..3d03e3ca6e 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 f9f05bf1d2..de809da734 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 c8561299da..2af77ceb95 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 79557ef280..e6128db4fd 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 7cda0eee04..f86e13dc4e 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 3009de3e7a..153a0c8e66 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 6ada7d9a39..8d96896128 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 3a164f2408..a841d947fa 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 378c305705..1ed1404205 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 a77f2e0a08..4b6e160410 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 0882b39db6..78c391d91c 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 98e470c9de..7ad4bcb198 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 45e8a5faf0..d001e96f03 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 18970b783c..a3692d34e2 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 4c42b988e0..41b6e40732 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 ac1568e812..7c86bc9d9d 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 c72c19aa4c..af46e29bc6 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 64dd4e7981..0d57cbfa48 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 77c0c5451d..560f98e607 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 26c11045d4..a67058fefa 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 553fe00b64..041d055ab1 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 73b180cbe7..1a7dcada10 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 d88dcab11c..d3af5b1e1c 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 ddbdf5348f..826cbb2cf8 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 cd87eead39..e0a4ba7d01 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 fbb1a7b0a1..5ee46d83c9 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 1eb2e50681..953cb24786 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 dc95c622b5..803f8db82a 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 dd21315a86..61f12eda2b 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 b98546299e..b887547d55 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 8284f1eafe..7dd5eff52a 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 94663ffac0..9b36aaaad3 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 12030fb691..ea72927404 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 41817cffe0..5f8825a2c2 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 4d653482ec..3082d194d0 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 c65db63d1b..07a71c0ba8 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 666f5a4049..b55ac2c651 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 2ca8ce85f4..286da7242a 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 b9a59ff8a6..ef4fd88771 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"