From b6afbe6317d237626f3953b864dc9d96de5ed369 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 7 Apr 2020 09:38:57 -0700 Subject: [PATCH] Added SDL_log.h to SDL_internal.h so logging is available everywhere --- src/SDL_error.c | 1 - src/SDL_internal.h | 2 ++ src/audio/SDL_wave.c | 1 - src/audio/disk/SDL_diskaudio.c | 1 - src/audio/emscripten/SDL_emscriptenaudio.c | 1 - src/audio/wasapi/SDL_wasapi.c | 1 - src/audio/wasapi/SDL_wasapi_win32.c | 1 - src/audio/wasapi/SDL_wasapi_winrt.cpp | 1 - src/core/android/SDL_android.c | 2 +- src/core/winrt/SDL_winrtapp_direct3d.cpp | 1 - src/filesystem/cocoa/SDL_sysfilesystem.m | 1 - src/joystick/android/SDL_sysjoystick.c | 1 - src/joystick/emscripten/SDL_sysjoystick.c | 1 - src/joystick/hidapi/SDL_hidapi_gamecube.c | 1 - src/joystick/hidapi/SDL_hidapi_ps4.c | 1 - src/joystick/hidapi/SDL_hidapi_steam.c | 1 - src/joystick/hidapi/SDL_hidapi_switch.c | 1 - src/joystick/hidapi/SDL_hidapi_xbox360.c | 1 - src/joystick/hidapi/SDL_hidapi_xbox360w.c | 1 - src/joystick/hidapi/SDL_hidapi_xboxone.c | 1 - src/joystick/hidapi/SDL_hidapijoystick.c | 1 - src/joystick/windows/SDL_rawinputjoystick.c | 1 - src/joystick/windows/SDL_xinputjoystick.c | 1 - src/render/SDL_render.c | 1 - src/render/direct3d/SDL_render_d3d.c | 1 - src/render/metal/SDL_render_metal.m | 1 - src/render/opengl/SDL_render_gl.c | 1 - src/render/opengl/SDL_shaders_gl.c | 1 - src/thread/pthread/SDL_systhread.c | 1 - src/thread/stdcpp/SDL_sysmutex.cpp | 1 - src/thread/stdcpp/SDL_systhread.cpp | 1 - src/video/SDL_egl.c | 1 - src/video/SDL_vulkan_utils.c | 1 - src/video/android/SDL_androidtouch.c | 1 - src/video/cocoa/SDL_cocoaopengles.m | 1 - src/video/directfb/SDL_DirectFB_video.h | 1 - src/video/kmsdrm/SDL_kmsdrmdyn.c | 3 --- src/video/kmsdrm/SDL_kmsdrmopengles.c | 2 -- src/video/kmsdrm/SDL_kmsdrmvideo.c | 1 - src/video/raspberry/SDL_rpiopengles.c | 2 +- src/video/vivante/SDL_vivantevulkan.c | 1 - src/video/wayland/SDL_waylanddyn.c | 3 --- src/video/wayland/SDL_waylandevents.c | 1 - src/video/wayland/SDL_waylandtouch.c | 1 - src/video/windows/SDL_windowsmodes.c | 1 - src/video/windows/SDL_windowsopengles.c | 1 - src/video/winrt/SDL_winrtmouse.cpp | 1 - src/video/winrt/SDL_winrtvideo.cpp | 1 - src/video/x11/SDL_x11window.c | 1 - 49 files changed, 4 insertions(+), 53 deletions(-) diff --git a/src/SDL_error.c b/src/SDL_error.c index bf17087c1d122..990145bec319b 100644 --- a/src/SDL_error.c +++ b/src/SDL_error.c @@ -22,7 +22,6 @@ /* Simple error handling in SDL */ -#include "SDL_log.h" #include "SDL_error.h" #include "SDL_error_c.h" diff --git a/src/SDL_internal.h b/src/SDL_internal.h index ac454235870be..ec2759114fa66 100644 --- a/src/SDL_internal.h +++ b/src/SDL_internal.h @@ -116,6 +116,8 @@ #define SDL_HAVE_YUV !SDL_LEAN_AND_MEAN #endif +#include "SDL_log.h" + #endif /* SDL_internal_h_ */ /* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/audio/SDL_wave.c b/src/audio/SDL_wave.c index 95d35045b2e7b..035901667e330 100644 --- a/src/audio/SDL_wave.c +++ b/src/audio/SDL_wave.c @@ -34,7 +34,6 @@ /* Microsoft WAVE file loading routines */ -#include "SDL_log.h" #include "SDL_hints.h" #include "SDL_audio.h" #include "SDL_wave.h" diff --git a/src/audio/disk/SDL_diskaudio.c b/src/audio/disk/SDL_diskaudio.c index dfe1bc2b005a8..5849d922a2f28 100644 --- a/src/audio/disk/SDL_diskaudio.c +++ b/src/audio/disk/SDL_diskaudio.c @@ -33,7 +33,6 @@ #include "SDL_audio.h" #include "../SDL_audio_c.h" #include "SDL_diskaudio.h" -#include "SDL_log.h" /* !!! FIXME: these should be SDL hints, not environment variables. */ /* environment variables and defaults. */ diff --git a/src/audio/emscripten/SDL_emscriptenaudio.c b/src/audio/emscripten/SDL_emscriptenaudio.c index 0be3c6915fdf6..db8de5240ee62 100644 --- a/src/audio/emscripten/SDL_emscriptenaudio.c +++ b/src/audio/emscripten/SDL_emscriptenaudio.c @@ -23,7 +23,6 @@ #if SDL_AUDIO_DRIVER_EMSCRIPTEN #include "SDL_audio.h" -#include "SDL_log.h" #include "../SDL_audio_c.h" #include "SDL_emscriptenaudio.h" #include "SDL_assert.h" diff --git a/src/audio/wasapi/SDL_wasapi.c b/src/audio/wasapi/SDL_wasapi.c index 622a05c2ad67b..66b13ab31b7ab 100644 --- a/src/audio/wasapi/SDL_wasapi.c +++ b/src/audio/wasapi/SDL_wasapi.c @@ -29,7 +29,6 @@ #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" #include "SDL_assert.h" -#include "SDL_log.h" #define COBJMACROS #include diff --git a/src/audio/wasapi/SDL_wasapi_win32.c b/src/audio/wasapi/SDL_wasapi_win32.c index f9a2938e23fb8..2da39323abcd5 100644 --- a/src/audio/wasapi/SDL_wasapi_win32.c +++ b/src/audio/wasapi/SDL_wasapi_win32.c @@ -35,7 +35,6 @@ #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" #include "SDL_assert.h" -#include "SDL_log.h" #define COBJMACROS #include diff --git a/src/audio/wasapi/SDL_wasapi_winrt.cpp b/src/audio/wasapi/SDL_wasapi_winrt.cpp index c94be8020abe4..b2f3abc90c6fe 100644 --- a/src/audio/wasapi/SDL_wasapi_winrt.cpp +++ b/src/audio/wasapi/SDL_wasapi_winrt.cpp @@ -41,7 +41,6 @@ extern "C" { #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" #include "SDL_assert.h" -#include "SDL_log.h" } #define COBJMACROS diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index 9dd961d317302..664608705a996 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -19,11 +19,11 @@ 3. This notice may not be removed or altered from any source distribution. */ #include "../../SDL_internal.h" + #include "SDL_stdinc.h" #include "SDL_assert.h" #include "SDL_atomic.h" #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_main.h" #include "SDL_timer.h" diff --git a/src/core/winrt/SDL_winrtapp_direct3d.cpp b/src/core/winrt/SDL_winrtapp_direct3d.cpp index a4ddc2f30532e..b6427478929f5 100644 --- a/src/core/winrt/SDL_winrtapp_direct3d.cpp +++ b/src/core/winrt/SDL_winrtapp_direct3d.cpp @@ -50,7 +50,6 @@ extern "C" { #include "SDL_assert.h" #include "SDL_events.h" #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_main.h" #include "SDL_stdinc.h" #include "SDL_render.h" diff --git a/src/filesystem/cocoa/SDL_sysfilesystem.m b/src/filesystem/cocoa/SDL_sysfilesystem.m index be4e932b388ba..b87de6e36cc14 100644 --- a/src/filesystem/cocoa/SDL_sysfilesystem.m +++ b/src/filesystem/cocoa/SDL_sysfilesystem.m @@ -32,7 +32,6 @@ #include "SDL_error.h" #include "SDL_stdinc.h" #include "SDL_filesystem.h" -#include "SDL_log.h" char * SDL_GetBasePath(void) diff --git a/src/joystick/android/SDL_sysjoystick.c b/src/joystick/android/SDL_sysjoystick.c index 6b8b3bbc11a8c..6ea044682395c 100644 --- a/src/joystick/android/SDL_sysjoystick.c +++ b/src/joystick/android/SDL_sysjoystick.c @@ -31,7 +31,6 @@ #include "SDL_hints.h" #include "SDL_assert.h" #include "SDL_timer.h" -#include "SDL_log.h" #include "SDL_sysjoystick_c.h" #include "../SDL_joystick_c.h" #include "../../events/SDL_keyboard_c.h" diff --git a/src/joystick/emscripten/SDL_sysjoystick.c b/src/joystick/emscripten/SDL_sysjoystick.c index a9fd38b09383a..02d08746ca698 100644 --- a/src/joystick/emscripten/SDL_sysjoystick.c +++ b/src/joystick/emscripten/SDL_sysjoystick.c @@ -30,7 +30,6 @@ #include "SDL_joystick.h" #include "SDL_assert.h" #include "SDL_timer.h" -#include "SDL_log.h" #include "SDL_sysjoystick_c.h" #include "../SDL_joystick_c.h" diff --git a/src/joystick/hidapi/SDL_hidapi_gamecube.c b/src/joystick/hidapi/SDL_hidapi_gamecube.c index 80e5495bdc63c..19e72feebd09d 100644 --- a/src/joystick/hidapi/SDL_hidapi_gamecube.c +++ b/src/joystick/hidapi/SDL_hidapi_gamecube.c @@ -23,7 +23,6 @@ #ifdef SDL_JOYSTICK_HIDAPI #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_events.h" #include "SDL_timer.h" #include "SDL_haptic.h" diff --git a/src/joystick/hidapi/SDL_hidapi_ps4.c b/src/joystick/hidapi/SDL_hidapi_ps4.c index 24d1aa836402c..a95c6e9a992b7 100644 --- a/src/joystick/hidapi/SDL_hidapi_ps4.c +++ b/src/joystick/hidapi/SDL_hidapi_ps4.c @@ -26,7 +26,6 @@ #ifdef SDL_JOYSTICK_HIDAPI #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_events.h" #include "SDL_timer.h" #include "SDL_joystick.h" diff --git a/src/joystick/hidapi/SDL_hidapi_steam.c b/src/joystick/hidapi/SDL_hidapi_steam.c index a62cc6b63e35f..19af4e7230090 100644 --- a/src/joystick/hidapi/SDL_hidapi_steam.c +++ b/src/joystick/hidapi/SDL_hidapi_steam.c @@ -23,7 +23,6 @@ #ifdef SDL_JOYSTICK_HIDAPI #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_events.h" #include "SDL_timer.h" #include "SDL_joystick.h" diff --git a/src/joystick/hidapi/SDL_hidapi_switch.c b/src/joystick/hidapi/SDL_hidapi_switch.c index 473df1d9e01c4..07e93ee8665d3 100644 --- a/src/joystick/hidapi/SDL_hidapi_switch.c +++ b/src/joystick/hidapi/SDL_hidapi_switch.c @@ -26,7 +26,6 @@ #ifdef SDL_JOYSTICK_HIDAPI #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_events.h" #include "SDL_timer.h" #include "SDL_joystick.h" diff --git a/src/joystick/hidapi/SDL_hidapi_xbox360.c b/src/joystick/hidapi/SDL_hidapi_xbox360.c index d136d5a5af9cf..7c5f01b2e4b07 100644 --- a/src/joystick/hidapi/SDL_hidapi_xbox360.c +++ b/src/joystick/hidapi/SDL_hidapi_xbox360.c @@ -23,7 +23,6 @@ #ifdef SDL_JOYSTICK_HIDAPI #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_events.h" #include "SDL_timer.h" #include "SDL_joystick.h" diff --git a/src/joystick/hidapi/SDL_hidapi_xbox360w.c b/src/joystick/hidapi/SDL_hidapi_xbox360w.c index 40721db784323..4364a61d4c492 100644 --- a/src/joystick/hidapi/SDL_hidapi_xbox360w.c +++ b/src/joystick/hidapi/SDL_hidapi_xbox360w.c @@ -23,7 +23,6 @@ #ifdef SDL_JOYSTICK_HIDAPI #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_events.h" #include "SDL_timer.h" #include "SDL_joystick.h" diff --git a/src/joystick/hidapi/SDL_hidapi_xboxone.c b/src/joystick/hidapi/SDL_hidapi_xboxone.c index 4fe23f228a151..507804bcb1772 100644 --- a/src/joystick/hidapi/SDL_hidapi_xboxone.c +++ b/src/joystick/hidapi/SDL_hidapi_xboxone.c @@ -23,7 +23,6 @@ #ifdef SDL_JOYSTICK_HIDAPI #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_events.h" #include "SDL_timer.h" #include "SDL_joystick.h" diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c index 04a1520a7fc7f..9ed82d8505462 100644 --- a/src/joystick/hidapi/SDL_hidapijoystick.c +++ b/src/joystick/hidapi/SDL_hidapijoystick.c @@ -26,7 +26,6 @@ #include "SDL_atomic.h" #include "SDL_endian.h" #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_thread.h" #include "SDL_timer.h" #include "SDL_joystick.h" diff --git a/src/joystick/windows/SDL_rawinputjoystick.c b/src/joystick/windows/SDL_rawinputjoystick.c index 8e013c6567ca3..8b5298dfdd19c 100644 --- a/src/joystick/windows/SDL_rawinputjoystick.c +++ b/src/joystick/windows/SDL_rawinputjoystick.c @@ -36,7 +36,6 @@ #include "SDL_assert.h" #include "SDL_endian.h" #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_mutex.h" #include "../SDL_sysjoystick.h" #include "../../core/windows/SDL_windows.h" diff --git a/src/joystick/windows/SDL_xinputjoystick.c b/src/joystick/windows/SDL_xinputjoystick.c index a70fa173f24f5..5bedc4bb4c96e 100644 --- a/src/joystick/windows/SDL_xinputjoystick.c +++ b/src/joystick/windows/SDL_xinputjoystick.c @@ -26,7 +26,6 @@ #include "SDL_assert.h" #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_timer.h" #include "SDL_windowsjoystick_c.h" #include "SDL_xinputjoystick_c.h" diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c index 8706cd88dfc92..c53452d66593b 100644 --- a/src/render/SDL_render.c +++ b/src/render/SDL_render.c @@ -24,7 +24,6 @@ #include "SDL_assert.h" #include "SDL_hints.h" -#include "SDL_log.h" #include "SDL_render.h" #include "SDL_sysrender.h" #include "software/SDL_render_sw_c.h" diff --git a/src/render/direct3d/SDL_render_d3d.c b/src/render/direct3d/SDL_render_d3d.c index f04a50a6d62ca..523830f73fc8e 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_log.h" #include "SDL_assert.h" #include "../SDL_sysrender.h" #include "../SDL_d3dmath.h" diff --git a/src/render/metal/SDL_render_metal.m b/src/render/metal/SDL_render_metal.m index 74252ba1f3aab..1b308baff9d19 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_log.h" #include "SDL_assert.h" #include "SDL_syswm.h" #include "SDL_metal.h" diff --git a/src/render/opengl/SDL_render_gl.c b/src/render/opengl/SDL_render_gl.c index b8b2d9f898784..d64a790a1047b 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_log.h" #include "SDL_assert.h" #include "SDL_opengl.h" #include "../SDL_sysrender.h" diff --git a/src/render/opengl/SDL_shaders_gl.c b/src/render/opengl/SDL_shaders_gl.c index ef75824d88112..db20ea17e5035 100644 --- a/src/render/opengl/SDL_shaders_gl.c +++ b/src/render/opengl/SDL_shaders_gl.c @@ -23,7 +23,6 @@ #if SDL_VIDEO_RENDER_OGL && !SDL_RENDER_DISABLED #include "SDL_stdinc.h" -#include "SDL_log.h" #include "SDL_opengl.h" #include "SDL_video.h" #include "SDL_shaders_gl.h" diff --git a/src/thread/pthread/SDL_systhread.c b/src/thread/pthread/SDL_systhread.c index e072889e85c01..fb96a401a7bb5 100644 --- a/src/thread/pthread/SDL_systhread.c +++ b/src/thread/pthread/SDL_systhread.c @@ -47,7 +47,6 @@ #endif #endif -#include "SDL_log.h" #include "SDL_platform.h" #include "SDL_thread.h" #include "../SDL_thread_c.h" diff --git a/src/thread/stdcpp/SDL_sysmutex.cpp b/src/thread/stdcpp/SDL_sysmutex.cpp index 2b134a7ff6bc4..b852c2d762d5d 100644 --- a/src/thread/stdcpp/SDL_sysmutex.cpp +++ b/src/thread/stdcpp/SDL_sysmutex.cpp @@ -23,7 +23,6 @@ extern "C" { #include "SDL_thread.h" #include "SDL_systhread_c.h" -#include "SDL_log.h" } #include diff --git a/src/thread/stdcpp/SDL_systhread.cpp b/src/thread/stdcpp/SDL_systhread.cpp index d1aac63f18a06..a61e7240e3948 100644 --- a/src/thread/stdcpp/SDL_systhread.cpp +++ b/src/thread/stdcpp/SDL_systhread.cpp @@ -26,7 +26,6 @@ extern "C" { #include "SDL_thread.h" #include "../SDL_thread_c.h" #include "../SDL_systhread.h" -#include "SDL_log.h" } #include diff --git a/src/video/SDL_egl.c b/src/video/SDL_egl.c index 189ae63d15f50..f89e21b1adeb6 100644 --- a/src/video/SDL_egl.c +++ b/src/video/SDL_egl.c @@ -31,7 +31,6 @@ #endif #include "SDL_sysvideo.h" -#include "SDL_log.h" #include "SDL_egl_c.h" #include "SDL_loadso.h" #include "SDL_hints.h" diff --git a/src/video/SDL_vulkan_utils.c b/src/video/SDL_vulkan_utils.c index 472acfa3b72c0..e13082ecfd697 100644 --- a/src/video/SDL_vulkan_utils.c +++ b/src/video/SDL_vulkan_utils.c @@ -22,7 +22,6 @@ #include "SDL_vulkan_internal.h" #include "SDL_error.h" -#include "SDL_log.h" /* !!! FIXME: this file doesn't match coding standards for SDL (brace position, etc). */ diff --git a/src/video/android/SDL_androidtouch.c b/src/video/android/SDL_androidtouch.c index 013eba9975ee1..71056e6d44949 100644 --- a/src/video/android/SDL_androidtouch.c +++ b/src/video/android/SDL_androidtouch.c @@ -26,7 +26,6 @@ #include "SDL_hints.h" #include "SDL_events.h" -#include "SDL_log.h" #include "SDL_androidtouch.h" #include "../../events/SDL_mouse_c.h" #include "../../events/SDL_touch_c.h" diff --git a/src/video/cocoa/SDL_cocoaopengles.m b/src/video/cocoa/SDL_cocoaopengles.m index 326a2ee577742..a45a9f57c09c3 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_log.h" /* EGL implementation of SDL OpenGL support */ diff --git a/src/video/directfb/SDL_DirectFB_video.h b/src/video/directfb/SDL_DirectFB_video.h index 9596449ebfcba..6acde7fb0a6b1 100644 --- a/src/video/directfb/SDL_DirectFB_video.h +++ b/src/video/directfb/SDL_DirectFB_video.h @@ -31,7 +31,6 @@ #include "SDL_scancode.h" #include "SDL_render.h" -#include "SDL_log.h" #define DFB_VERSIONNUM(X, Y, Z) \ ((X)*1000 + (Y)*100 + (Z)) diff --git a/src/video/kmsdrm/SDL_kmsdrmdyn.c b/src/video/kmsdrm/SDL_kmsdrmdyn.c index 9f9a087b3930e..13c68d76dc1ca 100644 --- a/src/video/kmsdrm/SDL_kmsdrmdyn.c +++ b/src/video/kmsdrm/SDL_kmsdrmdyn.c @@ -27,9 +27,6 @@ #include "SDL_kmsdrmdyn.h" -#if DEBUG_DYNAMIC_KMSDRM -#include "SDL_log.h" -#endif #ifdef SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC diff --git a/src/video/kmsdrm/SDL_kmsdrmopengles.c b/src/video/kmsdrm/SDL_kmsdrmopengles.c index ae4b3580b5a18..596f0a1be0de7 100644 --- a/src/video/kmsdrm/SDL_kmsdrmopengles.c +++ b/src/video/kmsdrm/SDL_kmsdrmopengles.c @@ -23,8 +23,6 @@ #if SDL_VIDEO_DRIVER_KMSDRM && SDL_VIDEO_OPENGL_EGL -#include "SDL_log.h" - #include "SDL_kmsdrmvideo.h" #include "SDL_kmsdrmopengles.h" #include "SDL_kmsdrmdyn.h" diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c index 459f96537c5c5..383170bea9e44 100644 --- a/src/video/kmsdrm/SDL_kmsdrmvideo.c +++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c @@ -26,7 +26,6 @@ /* SDL internals */ #include "../SDL_sysvideo.h" #include "SDL_syswm.h" -#include "SDL_log.h" #include "SDL_hints.h" #include "../../events/SDL_events_c.h" #include "../../events/SDL_mouse_c.h" diff --git a/src/video/raspberry/SDL_rpiopengles.c b/src/video/raspberry/SDL_rpiopengles.c index eab129da5a986..921f3c77a26bc 100644 --- a/src/video/raspberry/SDL_rpiopengles.c +++ b/src/video/raspberry/SDL_rpiopengles.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_log.h" #if SDL_VIDEO_DRIVER_RPI && SDL_VIDEO_OPENGL_EGL diff --git a/src/video/vivante/SDL_vivantevulkan.c b/src/video/vivante/SDL_vivantevulkan.c index 2ff623bf03f78..ac1568e812943 100644 --- a/src/video/vivante/SDL_vivantevulkan.c +++ b/src/video/vivante/SDL_vivantevulkan.c @@ -35,7 +35,6 @@ #include "SDL_loadso.h" #include "SDL_vivantevulkan.h" #include "SDL_syswm.h" -#include "SDL_log.h" int VIVANTE_Vulkan_LoadLibrary(_THIS, const char *path) { diff --git a/src/video/wayland/SDL_waylanddyn.c b/src/video/wayland/SDL_waylanddyn.c index f160094004f55..578fad49adb47 100644 --- a/src/video/wayland/SDL_waylanddyn.c +++ b/src/video/wayland/SDL_waylanddyn.c @@ -26,9 +26,6 @@ #include "SDL_waylanddyn.h" -#if DEBUG_DYNAMIC_WAYLAND -#include "SDL_log.h" -#endif #ifdef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC diff --git a/src/video/wayland/SDL_waylandevents.c b/src/video/wayland/SDL_waylandevents.c index 72e902a166708..3e52705b8be4e 100644 --- a/src/video/wayland/SDL_waylandevents.c +++ b/src/video/wayland/SDL_waylandevents.c @@ -25,7 +25,6 @@ #include "SDL_stdinc.h" #include "SDL_assert.h" -#include "SDL_log.h" #include "../../core/unix/SDL_poll.h" #include "../../events/SDL_sysevents.h" diff --git a/src/video/wayland/SDL_waylandtouch.c b/src/video/wayland/SDL_waylandtouch.c index 80ed6bd638d42..cfb95d2e97309 100644 --- a/src/video/wayland/SDL_waylandtouch.c +++ b/src/video/wayland/SDL_waylandtouch.c @@ -25,7 +25,6 @@ #ifdef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH -#include "SDL_log.h" #include "SDL_mouse.h" #include "SDL_keyboard.h" #include "SDL_waylandtouch.h" diff --git a/src/video/windows/SDL_windowsmodes.c b/src/video/windows/SDL_windowsmodes.c index c3187b73776fa..1eb6cb70e57d7 100644 --- a/src/video/windows/SDL_windowsmodes.c +++ b/src/video/windows/SDL_windowsmodes.c @@ -24,7 +24,6 @@ #include "SDL_windowsvideo.h" #include "../../../include/SDL_assert.h" -#include "../../../include/SDL_log.h" /* Windows CE compatibility */ #ifndef CDS_FULLSCREEN diff --git a/src/video/windows/SDL_windowsopengles.c b/src/video/windows/SDL_windowsopengles.c index 879448cb64dc4..e4bfe49cc0bed 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_log.h" /* EGL implementation of SDL OpenGL support */ diff --git a/src/video/winrt/SDL_winrtmouse.cpp b/src/video/winrt/SDL_winrtmouse.cpp index 9e595ffed5913..8284f1eafe0f1 100644 --- a/src/video/winrt/SDL_winrtmouse.cpp +++ b/src/video/winrt/SDL_winrtmouse.cpp @@ -39,7 +39,6 @@ extern "C" { #include "../../events/SDL_touch_c.h" #include "../SDL_sysvideo.h" #include "SDL_events.h" -#include "SDL_log.h" } #include "../../core/winrt/SDL_winrtapp_direct3d.h" diff --git a/src/video/winrt/SDL_winrtvideo.cpp b/src/video/winrt/SDL_winrtvideo.cpp index 5d2488638db44..2da28d9206e93 100644 --- a/src/video/winrt/SDL_winrtvideo.cpp +++ b/src/video/winrt/SDL_winrtvideo.cpp @@ -67,7 +67,6 @@ extern "C" { #include "SDL_winrtmouse_c.h" #include "SDL_main.h" #include "SDL_system.h" -//#include "SDL_log.h" /* Initialization/Query functions */ diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c index f1a79483c45ad..3bd18a45f3ace 100644 --- a/src/video/x11/SDL_x11window.c +++ b/src/video/x11/SDL_x11window.c @@ -40,7 +40,6 @@ #include "SDL_timer.h" #include "SDL_syswm.h" -#include "SDL_log.h" #define _NET_WM_STATE_REMOVE 0l #define _NET_WM_STATE_ADD 1l