Fixed bug 5235 - All internal sources should include SDL_assert.h

Ryan C. Gordon

We should really stick this in SDL_internal.h or something so it's always available.
This commit is contained in:
Sam Lantinga
2020-12-09 07:16:22 -08:00
parent 479db43058
commit cb36189692
113 changed files with 6 additions and 124 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -22,7 +22,6 @@
#ifdef SDL_JOYSTICK_HIDAPI
#include "SDL_assert.h"
#include "SDL_atomic.h"
#include "SDL_endian.h"
#include "SDL_hints.h"

View File

@@ -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"

View File

@@ -40,7 +40,6 @@
#include <dirent.h>
#include <linux/joystick.h>
#include "SDL_assert.h"
#include "SDL_hints.h"
#include "SDL_joystick.h"
#include "SDL_log.h"

View File

@@ -33,7 +33,6 @@
#if SDL_JOYSTICK_RAWINPUT
#include "SDL_assert.h"
#include "SDL_endian.h"
#include "SDL_events.h"
#include "SDL_hints.h"

View File

@@ -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"

View File

@@ -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"