From 4f0d1247931b0921a98d6e345ab6933b5f3ad5b6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 16 Oct 2014 07:27:42 +0200 Subject: [PATCH] Don't include stdio.h where not needed --- audio/oss.c | 2 +- audio/pulse.c | 3 +-- audio/resamplers/cc_resampler.c | 1 - audio/resamplers/nearest.c | 2 +- audio/resamplers/sinc.c | 1 - audio/roar.c | 2 +- frontend/menu/disp/lakka.c | 2 +- frontend/menu/disp/rgui.c | 2 +- frontend/menu/disp/rmenu.c | 2 +- frontend/menu/disp/xmb.c | 2 +- 10 files changed, 8 insertions(+), 11 deletions(-) diff --git a/audio/oss.c b/audio/oss.c index 7d71a181d7..00c5e9e09d 100644 --- a/audio/oss.c +++ b/audio/oss.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include #ifdef HAVE_OSS_BSD #define DEFAULT_OSS_DEV "/dev/audio" diff --git a/audio/pulse.c b/audio/pulse.c index db6937df3d..19c1d67c7d 100644 --- a/audio/pulse.c +++ b/audio/pulse.c @@ -19,8 +19,7 @@ #include #include "../boolean.h" #include - -#include +#include typedef struct { diff --git a/audio/resamplers/cc_resampler.c b/audio/resamplers/cc_resampler.c index 8dcc946dd1..2c87e7ee07 100644 --- a/audio/resamplers/cc_resampler.c +++ b/audio/resamplers/cc_resampler.c @@ -20,7 +20,6 @@ #include #include #include -#include #if !defined(RESAMPLER_TEST) && defined(RARCH_INTERNAL) #include "../../general.h" diff --git a/audio/resamplers/nearest.c b/audio/resamplers/nearest.c index 76d5a873f8..ed582c7e60 100644 --- a/audio/resamplers/nearest.c +++ b/audio/resamplers/nearest.c @@ -6,7 +6,7 @@ #include #include #include -#include +#include #if !defined(RESAMPLER_TEST) && defined(RARCH_INTERNAL) #include "../../general.h" diff --git a/audio/resamplers/sinc.c b/audio/resamplers/sinc.c index d8e7916915..769e572e0c 100644 --- a/audio/resamplers/sinc.c +++ b/audio/resamplers/sinc.c @@ -24,7 +24,6 @@ #include #include #include -#include #ifdef _WIN32 #include "../../msvc/msvc_compat.h" #endif diff --git a/audio/roar.c b/audio/roar.c index 8f25e5d0d4..1269bdd574 100644 --- a/audio/roar.c +++ b/audio/roar.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include "../boolean.h" #include "general.h" diff --git a/frontend/menu/disp/lakka.c b/frontend/menu/disp/lakka.c index 4920574493..185922d0e4 100644 --- a/frontend/menu/disp/lakka.c +++ b/frontend/menu/disp/lakka.c @@ -18,7 +18,7 @@ #include #include -#include +#include #include #include diff --git a/frontend/menu/disp/rgui.c b/frontend/menu/disp/rgui.c index 895f5fb8de..c1704b142a 100644 --- a/frontend/menu/disp/rgui.c +++ b/frontend/menu/disp/rgui.c @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include diff --git a/frontend/menu/disp/rmenu.c b/frontend/menu/disp/rmenu.c index a1314bd497..5d5a5fd824 100644 --- a/frontend/menu/disp/rmenu.c +++ b/frontend/menu/disp/rmenu.c @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include diff --git a/frontend/menu/disp/xmb.c b/frontend/menu/disp/xmb.c index 2d8240aa65..ec38fd6f11 100644 --- a/frontend/menu/disp/xmb.c +++ b/frontend/menu/disp/xmb.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include