From 4b47fa38c336698cc680b49832a238dac2459d60 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sun, 4 Jun 2017 23:15:47 +0200 Subject: [PATCH] Removed duplicate includes. --- src/core/android/SDL_android.c | 1 - src/core/winrt/SDL_winrtapp_direct3d.cpp | 1 - src/joystick/windows/SDL_windowsjoystick.c | 1 - src/main/haiku/SDL_BApp.h | 1 - src/video/directfb/SDL_DirectFB_video.c | 4 ---- src/video/x11/SDL_x11window.c | 1 - 6 files changed, 9 deletions(-) diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index cf1348ee1..227b48c7f 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -155,7 +155,6 @@ static void Android_JNI_ThreadDestroyed(void*); This file links the Java side of Android with libsdl *******************************************************************************/ #include -#include /******************************************************************************* diff --git a/src/core/winrt/SDL_winrtapp_direct3d.cpp b/src/core/winrt/SDL_winrtapp_direct3d.cpp index 48703d6eb..9603f49f7 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_internal.h" #include "SDL_assert.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 f8e3debd9..8f4217836 100644 --- a/src/joystick/windows/SDL_windowsjoystick.c +++ b/src/joystick/windows/SDL_windowsjoystick.c @@ -37,7 +37,6 @@ #include "SDL_events.h" #include "SDL_timer.h" #include "SDL_mutex.h" -#include "SDL_events.h" #include "SDL_hints.h" #include "SDL_joystick.h" #include "../SDL_sysjoystick.h" diff --git a/src/main/haiku/SDL_BApp.h b/src/main/haiku/SDL_BApp.h index 4d390351d..871614bec 100644 --- a/src/main/haiku/SDL_BApp.h +++ b/src/main/haiku/SDL_BApp.h @@ -37,7 +37,6 @@ extern "C" { /* Local includes */ #include "../../events/SDL_events_c.h" -#include "../../video/haiku/SDL_bkeyboard.h" #include "../../video/haiku/SDL_bframebuffer.h" #ifdef __cplusplus diff --git a/src/video/directfb/SDL_DirectFB_video.c b/src/video/directfb/SDL_DirectFB_video.c index a40a1632c..2a3c8c253 100644 --- a/src/video/directfb/SDL_DirectFB_video.c +++ b/src/video/directfb/SDL_DirectFB_video.c @@ -22,14 +22,10 @@ #if SDL_VIDEO_DRIVER_DIRECTFB -#include "SDL_DirectFB_video.h" - -#include "SDL_DirectFB_events.h" /* * #include "SDL_DirectFB_keyboard.h" */ #include "SDL_DirectFB_modes.h" -#include "SDL_DirectFB_mouse.h" #include "SDL_DirectFB_opengl.h" #include "SDL_DirectFB_window.h" #include "SDL_DirectFB_WM.h" diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c index e0b45b4e5..69453690a 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_assert.h" #include "SDL_log.h" #define _NET_WM_STATE_REMOVE 0l