summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-12-12 00:13:12 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-12-12 00:13:12 -0800
commit9e7f6e2f7dbbe3c7743ab39ddf5289b3128e2c94 (patch)
treed5579e3c8f10740493f1f0eb691deeb22b1b3ea1
parentb07ecc142c6251517be5f4af9c76ba539b54eecc (diff)
downloadtxr-9e7f6e2f7dbbe3c7743ab39ddf5289b3128e2c94.tar.gz
txr-9e7f6e2f7dbbe3c7743ab39ddf5289b3128e2c94.tar.bz2
txr-9e7f6e2f7dbbe3c7743ab39ddf5289b3128e2c94.zip
Eliminate various unneeded header inclusions.
* hash.c: Don't include "cadr.h". * stream.c: Don't include "struct.h". * strudel.c: No <syslog.h>, ALLOCA_H, "args.h" or "utf8.h". * vm.c: No "hash.h".
-rw-r--r--hash.c1
-rw-r--r--stream.c1
-rw-r--r--strudel.c4
-rw-r--r--vm.c1
4 files changed, 0 insertions, 7 deletions
diff --git a/hash.c b/hash.c
index 60b045c0..c5344c69 100644
--- a/hash.c
+++ b/hash.c
@@ -44,7 +44,6 @@
#include "unwind.h"
#include "stream.h"
#include "eval.h"
-#include "cadr.h"
#include "itypes.h"
#include "arith.h"
#include "hash.h"
diff --git a/stream.c b/stream.c
index fb0b9fc1..522c5df1 100644
--- a/stream.c
+++ b/stream.c
@@ -70,7 +70,6 @@
#include "txr.h"
#include "arith.h"
#include "buf.h"
-#include "struct.h"
/* Adhere to ISO C rules about direction switching on update streams. */
#ifndef __gnu_linux__
diff --git a/strudel.c b/strudel.c
index e2f49d69..42e40355 100644
--- a/strudel.c
+++ b/strudel.c
@@ -31,14 +31,10 @@
#include <stdarg.h>
#include <wchar.h>
#include <signal.h>
-#include <syslog.h>
#include "config.h"
-#include ALLOCA_H
#include "lib.h"
#include "stream.h"
#include "gc.h"
-#include "args.h"
-#include "utf8.h"
#include "eval.h"
#include "struct.h"
#include "strudel.h"
diff --git a/vm.c b/vm.c
index 331f0814..6aeaee96 100644
--- a/vm.c
+++ b/vm.c
@@ -36,7 +36,6 @@
#include "config.h"
#include ALLOCA_H
#include "lib.h"
-#include "hash.h"
#include "eval.h"
#include "signal.h"
#include "unwind.h"