Remove unnecessary system header includes.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 2 Jan 2015 02:05:40 +0000 (02:05 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 12 Jan 2015 22:28:28 +0000 (23:28 +0100)
All these headers get included from para.h.

15 files changed:
afh_recv.c
audioc.c
bitstream.c
fd.c
imdct.c
interactive.c
mm.c
oss_write.c
sched.c
sideband.c
stdin.c
stdout.c
wma_afh.c
wma_common.c
wmadec_filter.c

index 01785d6c6796dd98bfc514bb11a76fe3cbfaa101..551d6561f91f05b1343e1490093869878dcc21f8 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <regex.h>
 #include <sys/types.h>
 
 #include <regex.h>
 #include <sys/types.h>
-#include <stdbool.h>
 
 #include "para.h"
 #include "error.h"
 
 #include "para.h"
 #include "error.h"
index a2bfeb1995abc458daf953b036a0d2edcdd3aed1..8c6b7ec8f1b7df61b790bc55d09cd0755bbf141a 100644 (file)
--- a/audioc.c
+++ b/audioc.c
@@ -13,7 +13,6 @@
 #include <arpa/inet.h>
 #include <sys/un.h>
 #include <netdb.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
 #include <netdb.h>
-#include <stdbool.h>
 #include <signal.h>
 
 #include "audioc.cmdline.h"
 #include <signal.h>
 
 #include "audioc.cmdline.h"
index fb638d0a83317568c89e00a56d6bd375e6326a41..cf815598e0e24893649f3bc2a1e8782b8557ab07 100644 (file)
 
 /** \file bitstream.c Bitstream API for the wma decoder. */
 
 
 /** \file bitstream.c Bitstream API for the wma decoder. */
 
-#include <stdlib.h>
-#include <inttypes.h>
-#include <stdio.h>
-#include <string.h>
 #include <regex.h>
 
 #include "para.h"
 #include <regex.h>
 
 #include "para.h"
diff --git a/fd.c b/fd.c
index 1053268e642147f20e43442b858f392babcb06f7..2844490bd90a9b7fc9cd1a867f156597e571310d 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -10,8 +10,6 @@
 #include <sys/types.h>
 #include <dirent.h>
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <dirent.h>
 #include <sys/mman.h>
-#include <fcntl.h>
-#include <sys/uio.h>
 
 #include "para.h"
 #include "error.h"
 
 #include "para.h"
 #include "error.h"
diff --git a/imdct.c b/imdct.c
index 93393e9959edb611e32b92c41a8c09c61e3af55e..d2a0681898b6497f2742e842d3b9ef1ed104621a 100644 (file)
--- a/imdct.c
+++ b/imdct.c
  * \file imdct.c Inverse modified discrete cosine transform.
  */
 
  * \file imdct.c Inverse modified discrete cosine transform.
  */
 
-#include <inttypes.h>
 #include <math.h>
 #include <math.h>
-#include <string.h>
-#include <stdlib.h>
 #include <regex.h>
 
 #include "para.h"
 #include <regex.h>
 
 #include "para.h"
index efb18ceeffae4a05aff5600dfb93df5312e60a12..92bb62825b4f81caa457c76abe523ce2ff471c51 100644 (file)
@@ -7,12 +7,10 @@
 /** \file interactive.c Readline abstraction for interactive sessions. */
 
 #include <regex.h>
 /** \file interactive.c Readline abstraction for interactive sessions. */
 
 #include <regex.h>
-#include <stdbool.h>
 #include <curses.h>
 #include <readline/readline.h>
 #include <readline/history.h>
 #include <sys/ioctl.h>
 #include <curses.h>
 #include <readline/readline.h>
 #include <readline/history.h>
 #include <sys/ioctl.h>
-#include <assert.h>
 #include <signal.h>
 
 #include "para.h"
 #include <signal.h>
 
 #include "para.h"
diff --git a/mm.c b/mm.c
index 82b6fe60aaea5b22fff01f8f36fa4c66c70cdbdf..bcaee998940135dc20fd5d8ff9a4c8af355ba19c 100644 (file)
--- a/mm.c
+++ b/mm.c
@@ -6,7 +6,6 @@
 
 /** \file mm.c Paraslash's mood methods. */
 
 
 /** \file mm.c Paraslash's mood methods. */
 
-#include <time.h>
 #include <regex.h>
 #include <fnmatch.h>
 #include <osl.h>
 #include <regex.h>
 #include <fnmatch.h>
 #include <osl.h>
index 5decc24b6d8fb8b0d62471255d4dd579d4ddb0b3..af09b110ef79c5144eb94a889253e666716cea60 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <regex.h>
 #include <sys/ioctl.h>
 
 #include <regex.h>
 #include <sys/ioctl.h>
-#include <fcntl.h>
 #include <sys/soundcard.h>
 
 #include "para.h"
 #include <sys/soundcard.h>
 
 #include "para.h"
diff --git a/sched.c b/sched.c
index 268ba5418a5a01a7fcbab640bb072e009a67ee60..ad3641a37d90deacf8fdf8d4d8bd08fc94a6536e 100644 (file)
--- a/sched.c
+++ b/sched.c
@@ -7,7 +7,6 @@
 /** \file sched.c Paraslash's scheduling functions. */
 
 #include <regex.h>
 /** \file sched.c Paraslash's scheduling functions. */
 
 #include <regex.h>
-#include <assert.h>
 
 #include "para.h"
 #include "ipc.h"
 
 #include "para.h"
 #include "ipc.h"
index 3862d7ac0a0a1aaa21ffe255ec8bd53c2508aeb0..8901e12dd8cd1e622ffc8af7ebd0a9b846a14e89 100644 (file)
@@ -7,7 +7,6 @@
 /** \file sideband.c Implementation of the sideband API. */
 
 #include <regex.h>
 /** \file sideband.c Implementation of the sideband API. */
 
 #include <regex.h>
-#include <sys/uio.h>
 
 #include "para.h"
 #include "error.h"
 
 #include "para.h"
 #include "error.h"
diff --git a/stdin.c b/stdin.c
index a4e81bd3d9828d67a77bce09e905ea1dc7bc1d47..ca06b1bed985f90a814c29bde00eccbd44d253c6 100644 (file)
--- a/stdin.c
+++ b/stdin.c
@@ -6,7 +6,6 @@
 
 /** \file stdin.c Functions that deal with reading from stdin. */
 
 
 /** \file stdin.c Functions that deal with reading from stdin. */
 
-#include <assert.h>
 #include <regex.h>
 
 #include "para.h"
 #include <regex.h>
 
 #include "para.h"
index 5fae20c28b2bcb093a1ab054b7c4e8c27be67829..86c2d33b882363711e9ba69a5ee7612d0187a334 100644 (file)
--- a/stdout.c
+++ b/stdout.c
@@ -6,8 +6,6 @@
 
 /** \file stdout.c Functions that deal with writing to stdout. */
 
 
 /** \file stdout.c Functions that deal with writing to stdout. */
 
-#include <assert.h>
-
 #include "para.h"
 #include "list.h"
 #include "sched.h"
 #include "para.h"
 #include "list.h"
 #include "sched.h"
index cfa7304043704bcda166f6050a16392689b00ff8..7262c6ac9536a73fbefc184d89da48998f4b3250 100644 (file)
--- a/wma_afh.c
+++ b/wma_afh.c
@@ -6,14 +6,7 @@
 
 /** \file wma_afh.c The audio format handler for WMA files. */
 
 
 /** \file wma_afh.c The audio format handler for WMA files. */
 
-#include <stdlib.h>
-#include <inttypes.h>
 #include <sys/types.h>
 #include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
 #include <regex.h>
 
 #include "para.h"
 #include <regex.h>
 
 #include "para.h"
index 3c775be21d9cff0358676c42eaf3ca16889b3c10..6d01972d0c46f06982a300c8f95d633c00f5f857 100644 (file)
@@ -6,13 +6,7 @@
 
 /** \file wma_common.c Functions used by both the WMA afh and decoder. */
 
 
 /** \file wma_common.c Functions used by both the WMA afh and decoder. */
 
-#include <inttypes.h>
 #include <sys/types.h>
 #include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
 
 #include "para.h"
 #include "error.h"
 
 #include "para.h"
 #include "error.h"
index 188b0a416cf9ad587b5de922a2b7912c1101ece0..6b7251ee06338d1c1b50b4cd5eb674a6958ee0c0 100644 (file)
 
 #define _XOPEN_SOURCE 600
 
 
 #define _XOPEN_SOURCE 600
 
-#include <inttypes.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <math.h>
 #include <math.h>
-#include <string.h>
 #include <regex.h>
 #include <sys/select.h>
 
 #include <regex.h>
 #include <sys/select.h>