summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-01-22 08:01:24 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-01-22 08:01:24 -0800
commit41a513cf5d74413f6a1d5956eae6cc833c852abc (patch)
tree88781f7c034e51f066daf5ef2d97e17cfc277c15
parent3ad9aafbd02e23c0d4a8fdb41f02ff25fa03746a (diff)
downloadtxr-41a513cf5d74413f6a1d5956eae6cc833c852abc.tar.gz
txr-41a513cf5d74413f6a1d5956eae6cc833c852abc.tar.bz2
txr-41a513cf5d74413f6a1d5956eae6cc833c852abc.zip
Header file cleanup.
* arith.c, cadr.c, debug.c, eval.c, filter.c, gencadr.txr, glob.c, hash.c, linenoise/linenoise.c, lisplib.c, match.c, parser.c, rand.c, regex.c, signal.c, stream.c, struct.c, sysif.c, syslog.c, txr.c, unwind.c, utf8.c: Remove unncessary header files.
-rw-r--r--cadr.c4
-rw-r--r--debug.c2
-rw-r--r--eval.c1
-rw-r--r--filter.c1
-rw-r--r--gencadr.txr5
-rw-r--r--glob.c5
-rw-r--r--hash.c1
-rw-r--r--linenoise/linenoise.c3
-rw-r--r--lisplib.c1
-rw-r--r--match.c3
-rw-r--r--parser.c3
-rw-r--r--rand.c6
-rw-r--r--regex.c1
-rw-r--r--signal.c2
-rw-r--r--syslog.c3
-rw-r--r--txr.c2
-rw-r--r--unwind.c1
17 files changed, 0 insertions, 44 deletions
diff --git a/cadr.c b/cadr.c
index 21369c71..8c41be68 100644
--- a/cadr.c
+++ b/cadr.c
@@ -25,7 +25,6 @@
*/
#include <stdio.h>
-#include <string.h>
#include <dirent.h>
#include <stdarg.h>
#include <stdlib.h>
@@ -33,9 +32,6 @@
#include <signal.h>
#include "config.h"
#include "lib.h"
-#include "gc.h"
-#include "signal.h"
-#include "unwind.h"
#include "eval.h"
#include "stream.h"
#include "lisplib.h"
diff --git a/debug.c b/debug.c
index 0a2832d4..328cee20 100644
--- a/debug.c
+++ b/debug.c
@@ -26,8 +26,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
#include <dirent.h>
#include <stdarg.h>
#include <wchar.h>
diff --git a/eval.c b/eval.c
index c781d980..3d7cee89 100644
--- a/eval.c
+++ b/eval.c
@@ -27,7 +27,6 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <dirent.h>
#include <stdarg.h>
#include <wchar.h>
diff --git a/filter.c b/filter.c
index 08ef6f33..d93e8cb2 100644
--- a/filter.c
+++ b/filter.c
@@ -24,7 +24,6 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <stddef.h>
#include <string.h>
#include <wctype.h>
#include <wchar.h>
diff --git a/gencadr.txr b/gencadr.txr
index f21386fd..78b1abb3 100644
--- a/gencadr.txr
+++ b/gencadr.txr
@@ -20,18 +20,13 @@
@{c-copyright "\n"}
#include <stdio.h>
-#include <string.h>
#include <dirent.h>
#include <stdarg.h>
#include <stdlib.h>
-#include <setjmp.h>
#include <limits.h>
#include <signal.h>
#include "config.h"
#include "lib.h"
-#include "gc.h"
-#include "signal.h"
-#include "unwind.h"
#include "eval.h"
#include "stream.h"
#include "lisplib.h"
diff --git a/glob.c b/glob.c
index 62aceaeb..dcab2ed8 100644
--- a/glob.c
+++ b/glob.c
@@ -24,18 +24,13 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <stdio.h>
-#include <stdlib.h>
#include <stdarg.h>
#include <wchar.h>
#include <signal.h>
#include <glob.h>
#include "config.h"
#include "lib.h"
-#include "hash.h"
#include "gc.h"
-#include "signal.h"
-#include "unwind.h"
#include "utf8.h"
#include "eval.h"
#include "glob.h"
diff --git a/hash.c b/hash.c
index a2ac2d79..01d0b90c 100644
--- a/hash.c
+++ b/hash.c
@@ -26,7 +26,6 @@
#include <stddef.h>
#include <stdio.h>
-#include <string.h>
#include <dirent.h>
#include <stdarg.h>
#include <stdlib.h>
diff --git a/linenoise/linenoise.c b/linenoise/linenoise.c
index f404001e..a78e4c10 100644
--- a/linenoise/linenoise.c
+++ b/linenoise/linenoise.c
@@ -48,13 +48,10 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
-#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/ioctl.h>
-#include <unistd.h>
#include <signal.h>
-#include <time.h>
#include <limits.h>
#include <assert.h>
#include "config.h"
diff --git a/lisplib.c b/lisplib.c
index 751b4d45..c99fc648 100644
--- a/lisplib.c
+++ b/lisplib.c
@@ -31,7 +31,6 @@
#include "config.h"
#include "lib.h"
#include "eval.h"
-#include "parser.h"
#include "stream.h"
#include "hash.h"
#include "gc.h"
diff --git a/match.c b/match.c
index 7d738b6d..54914572 100644
--- a/match.c
+++ b/match.c
@@ -27,8 +27,6 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
#include <dirent.h>
#include <stdarg.h>
#include <wchar.h>
@@ -45,7 +43,6 @@
#include "y.tab.h"
#include "parser.h"
#include "txr.h"
-#include "utf8.h"
#include "filter.h"
#include "hash.h"
#include "debug.h"
diff --git a/parser.c b/parser.c
index 040dd54b..b1b4b4d8 100644
--- a/parser.c
+++ b/parser.c
@@ -41,15 +41,12 @@
#include "signal.h"
#include "unwind.h"
#include "gc.h"
-#include "regex.h"
#include "utf8.h"
-#include "match.h"
#include "hash.h"
#include "eval.h"
#include "stream.h"
#include "y.tab.h"
#include "sysif.h"
-#include "cadr.h"
#include "parser.h"
#if HAVE_TERMIOS
#include "linenoise/linenoise.h"
diff --git a/rand.c b/rand.c
index e2d5c9d7..ccf3846e 100644
--- a/rand.c
+++ b/rand.c
@@ -24,16 +24,11 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include <wctype.h>
-#include <limits.h>
#include <stdarg.h>
-#include <dirent.h>
#include <wchar.h>
#include <limits.h>
-#include <time.h>
#include <signal.h>
#include "config.h"
#if HAVE_UNISTD_H
@@ -43,7 +38,6 @@
#include "signal.h"
#include "unwind.h"
#include "arith.h"
-#include "txr.h"
#include "rand.h"
#include "eval.h"
diff --git a/regex.c b/regex.c
index 1b2fbad2..4dd61610 100644
--- a/regex.c
+++ b/regex.c
@@ -30,7 +30,6 @@
#include <wchar.h>
#include <assert.h>
#include <dirent.h>
-#include <dirent.h>
#include <limits.h>
#include <signal.h>
#include <stdarg.h>
diff --git a/signal.c b/signal.c
index 434bc522..ebc727cb 100644
--- a/signal.c
+++ b/signal.c
@@ -24,13 +24,11 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <wchar.h>
-#include <dirent.h>
#include <signal.h>
#include "config.h"
#if HAVE_SYS_TIME
diff --git a/syslog.c b/syslog.c
index 50d05340..e4265e4b 100644
--- a/syslog.c
+++ b/syslog.c
@@ -36,11 +36,8 @@
#include ALLOCA_H
#include "lib.h"
#include "stream.h"
-#include "hash.h"
#include "gc.h"
#include "args.h"
-#include "signal.h"
-#include "unwind.h"
#include "utf8.h"
#include "eval.h"
#include "syslog.h"
diff --git a/txr.c b/txr.c
index c9940a73..36703b2f 100644
--- a/txr.c
+++ b/txr.c
@@ -26,7 +26,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <limits.h>
#include <dirent.h>
#include <stdarg.h>
@@ -53,7 +52,6 @@
#include "eval.h"
#include "regex.h"
#include "arith.h"
-#include "lisplib.h"
#include "sysif.h"
#include "txr.h"
diff --git a/unwind.c b/unwind.c
index 3cbf76bb..52cb8832 100644
--- a/unwind.c
+++ b/unwind.c
@@ -40,7 +40,6 @@
#include "txr.h"
#include "signal.h"
#include "eval.h"
-#include "parser.h"
#include "struct.h"
#include ALLOCA_H
#include "unwind.h"