From 37b4aac3acf0563247bb83ab6c618c777a3d5525 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 28 Aug 2024 13:58:03 -0700 Subject: [PATCH] Removed unnecessary inclusion of stdbool.h --- src/audio/aaudio/SDL_aaudio.c | 1 - src/joystick/ps2/SDL_sysjoystick.c | 1 - src/storage/steam/SDL_steamstorage.c | 2 -- src/video/wayland/SDL_waylandsym.h | 2 -- src/video/windows/SDL_windowsgameinput.c | 1 - 5 files changed, 7 deletions(-) diff --git a/src/audio/aaudio/SDL_aaudio.c b/src/audio/aaudio/SDL_aaudio.c index 260ea6e14c..8a9d8d1f81 100644 --- a/src/audio/aaudio/SDL_aaudio.c +++ b/src/audio/aaudio/SDL_aaudio.c @@ -26,7 +26,6 @@ #include "SDL_aaudio.h" #include "../../core/android/SDL_android.h" -#include #include #if __ANDROID_API__ < 31 diff --git a/src/joystick/ps2/SDL_sysjoystick.c b/src/joystick/ps2/SDL_sysjoystick.c index 0c00ffa4a2..8054d0eb2f 100644 --- a/src/joystick/ps2/SDL_sysjoystick.c +++ b/src/joystick/ps2/SDL_sysjoystick.c @@ -29,7 +29,6 @@ #include // For the definition of NULL #include -#include #include "../SDL_sysjoystick.h" #include "../SDL_joystick_c.h" diff --git a/src/storage/steam/SDL_steamstorage.c b/src/storage/steam/SDL_steamstorage.c index cd5b1307b0..237334e2e9 100644 --- a/src/storage/steam/SDL_steamstorage.c +++ b/src/storage/steam/SDL_steamstorage.c @@ -23,8 +23,6 @@ #include "../SDL_sysstorage.h" -#include // Needed by Steamworks - // !!! FIXME: Async API can use SteamRemoteStorage_ReadFileAsync // !!! FIXME: Async API can use SteamRemoteStorage_WriteFileAsync diff --git a/src/video/wayland/SDL_waylandsym.h b/src/video/wayland/SDL_waylandsym.h index 293a679efa..6cd9a65589 100644 --- a/src/video/wayland/SDL_waylandsym.h +++ b/src/video/wayland/SDL_waylandsym.h @@ -37,8 +37,6 @@ #define SDL_WAYLAND_INTERFACE(iface) #endif -#include - SDL_WAYLAND_MODULE(WAYLAND_CLIENT) SDL_WAYLAND_SYM(void, wl_proxy_marshal, (struct wl_proxy *, uint32_t, ...)) SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_create, (struct wl_proxy *, const struct wl_interface *)) diff --git a/src/video/windows/SDL_windowsgameinput.c b/src/video/windows/SDL_windowsgameinput.c index 07b94488bd..ad35fcea4d 100644 --- a/src/video/windows/SDL_windowsgameinput.c +++ b/src/video/windows/SDL_windowsgameinput.c @@ -24,7 +24,6 @@ #ifdef HAVE_GAMEINPUT_H -#include #define COBJMACROS #include