From 06cf1943be32153d075ea90a5da12ac93ab2e90a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 2 Jan 2015 02:05:40 +0000 Subject: [PATCH] Remove unnecessary system header includes. All these headers get included from para.h. --- afh_recv.c | 1 - audioc.c | 1 - bitstream.c | 4 ---- fd.c | 2 -- imdct.c | 3 --- interactive.c | 2 -- mm.c | 1 - oss_write.c | 1 - sched.c | 1 - sideband.c | 1 - stdin.c | 1 - stdout.c | 2 -- wma_afh.c | 7 ------- wma_common.c | 6 ------ wmadec_filter.c | 4 ---- 15 files changed, 37 deletions(-) diff --git a/afh_recv.c b/afh_recv.c index 01785d6c..551d6561 100644 --- a/afh_recv.c +++ b/afh_recv.c @@ -8,7 +8,6 @@ #include #include -#include #include "para.h" #include "error.h" diff --git a/audioc.c b/audioc.c index a2bfeb19..8c6b7ec8 100644 --- a/audioc.c +++ b/audioc.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include "audioc.cmdline.h" diff --git a/bitstream.c b/bitstream.c index fb638d0a..cf815598 100644 --- a/bitstream.c +++ b/bitstream.c @@ -13,10 +13,6 @@ /** \file bitstream.c Bitstream API for the wma decoder. */ -#include -#include -#include -#include #include #include "para.h" diff --git a/fd.c b/fd.c index 1053268e..2844490b 100644 --- a/fd.c +++ b/fd.c @@ -10,8 +10,6 @@ #include #include #include -#include -#include #include "para.h" #include "error.h" diff --git a/imdct.c b/imdct.c index 93393e99..d2a06818 100644 --- a/imdct.c +++ b/imdct.c @@ -15,10 +15,7 @@ * \file imdct.c Inverse modified discrete cosine transform. */ -#include #include -#include -#include #include #include "para.h" diff --git a/interactive.c b/interactive.c index efb18cee..92bb6282 100644 --- a/interactive.c +++ b/interactive.c @@ -7,12 +7,10 @@ /** \file interactive.c Readline abstraction for interactive sessions. */ #include -#include #include #include #include #include -#include #include #include "para.h" diff --git a/mm.c b/mm.c index 82b6fe60..bcaee998 100644 --- a/mm.c +++ b/mm.c @@ -6,7 +6,6 @@ /** \file mm.c Paraslash's mood methods. */ -#include #include #include #include diff --git a/oss_write.c b/oss_write.c index 5decc24b..af09b110 100644 --- a/oss_write.c +++ b/oss_write.c @@ -8,7 +8,6 @@ #include #include -#include #include #include "para.h" diff --git a/sched.c b/sched.c index 268ba541..ad3641a3 100644 --- a/sched.c +++ b/sched.c @@ -7,7 +7,6 @@ /** \file sched.c Paraslash's scheduling functions. */ #include -#include #include "para.h" #include "ipc.h" diff --git a/sideband.c b/sideband.c index 3862d7ac..8901e12d 100644 --- a/sideband.c +++ b/sideband.c @@ -7,7 +7,6 @@ /** \file sideband.c Implementation of the sideband API. */ #include -#include #include "para.h" #include "error.h" diff --git a/stdin.c b/stdin.c index a4e81bd3..ca06b1be 100644 --- a/stdin.c +++ b/stdin.c @@ -6,7 +6,6 @@ /** \file stdin.c Functions that deal with reading from stdin. */ -#include #include #include "para.h" diff --git a/stdout.c b/stdout.c index 5fae20c2..86c2d33b 100644 --- a/stdout.c +++ b/stdout.c @@ -6,8 +6,6 @@ /** \file stdout.c Functions that deal with writing to stdout. */ -#include - #include "para.h" #include "list.h" #include "sched.h" diff --git a/wma_afh.c b/wma_afh.c index cfa73040..7262c6ac 100644 --- a/wma_afh.c +++ b/wma_afh.c @@ -6,14 +6,7 @@ /** \file wma_afh.c The audio format handler for WMA files. */ -#include -#include #include -#include -#include -#include -#include -#include #include #include "para.h" diff --git a/wma_common.c b/wma_common.c index 3c775be2..6d01972d 100644 --- a/wma_common.c +++ b/wma_common.c @@ -6,13 +6,7 @@ /** \file wma_common.c Functions used by both the WMA afh and decoder. */ -#include #include -#include -#include -#include -#include -#include #include "para.h" #include "error.h" diff --git a/wmadec_filter.c b/wmadec_filter.c index 188b0a41..6b7251ee 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -17,11 +17,7 @@ #define _XOPEN_SOURCE 600 -#include -#include -#include #include -#include #include #include -- 2.39.5