Browse Source

Removed unnecessary inclusion of stdbool.h

Sam Lantinga 7 months ago
parent
commit
37b4aac3ac

+ 0 - 1
src/audio/aaudio/SDL_aaudio.c

@@ -26,7 +26,6 @@
 #include "SDL_aaudio.h"
 
 #include "../../core/android/SDL_android.h"
-#include <stdbool.h>
 #include <aaudio/AAudio.h>
 
 #if __ANDROID_API__ < 31

+ 0 - 1
src/joystick/ps2/SDL_sysjoystick.c

@@ -29,7 +29,6 @@
 
 #include <stdio.h> // For the definition of NULL
 #include <stdlib.h>
-#include <stdbool.h>
 
 #include "../SDL_sysjoystick.h"
 #include "../SDL_joystick_c.h"

+ 0 - 2
src/storage/steam/SDL_steamstorage.c

@@ -23,8 +23,6 @@
 
 #include "../SDL_sysstorage.h"
 
-#include <stdbool.h> // Needed by Steamworks
-
 // !!! FIXME: Async API can use SteamRemoteStorage_ReadFileAsync
 // !!! FIXME: Async API can use SteamRemoteStorage_WriteFileAsync
 

+ 0 - 2
src/video/wayland/SDL_waylandsym.h

@@ -37,8 +37,6 @@
 #define SDL_WAYLAND_INTERFACE(iface)
 #endif
 
-#include <stdbool.h>
-
 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 *))

+ 0 - 1
src/video/windows/SDL_windowsgameinput.c

@@ -24,7 +24,6 @@
 
 #ifdef HAVE_GAMEINPUT_H
 
-#include <stdbool.h>
 #define COBJMACROS
 #include <gameinput.h>