summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-09-19 23:04:12 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-09-19 23:04:12 -0700
commit0cb1ba02837a0e0d4026d771a6a6905bd382c6ac (patch)
treeef5886e9078a7db96fb57e850ed85c806c56d756
parent997334bfbb52bb4ec688b6235f064c78bce7d645 (diff)
downloadtxr-0cb1ba02837a0e0d4026d771a6a6905bd382c6ac.tar.gz
txr-0cb1ba02837a0e0d4026d771a6a6905bd382c6ac.tar.bz2
txr-0cb1ba02837a0e0d4026d771a6a6905bd382c6ac.zip
cleanup: remove unnecessary header includes.
* eval.c: doesn't need rand.h. * filter.c: doesn't need gc.h. * parser.l: doesn't need eval.h. * parser.y: doesn't need utf8.h, stream.h, args.h or cadr.h.
-rw-r--r--eval.c1
-rw-r--r--filter.c1
-rw-r--r--parser.l1
-rw-r--r--parser.y4
4 files changed, 0 insertions, 7 deletions
diff --git a/eval.c b/eval.c
index 9977883d..e7ea1859 100644
--- a/eval.c
+++ b/eval.c
@@ -48,7 +48,6 @@
#include "hash.h"
#include "debug.h"
#include "match.h"
-#include "rand.h"
#include "txr.h"
#include "combi.h"
#include "lisplib.h"
diff --git a/filter.c b/filter.c
index 37a27bcb..c23d5471 100644
--- a/filter.c
+++ b/filter.c
@@ -39,7 +39,6 @@
#include "unwind.h"
#include "match.h"
#include "filter.h"
-#include "gc.h"
#include "eval.h"
#include "stream.h"
diff --git a/parser.l b/parser.l
index 3f595e4f..1f193126 100644
--- a/parser.l
+++ b/parser.l
@@ -50,7 +50,6 @@
#include "hash.h"
#include "y.tab.h"
#include "parser.h"
-#include "eval.h"
#include "txr.h"
#define YY_INPUT(buf, result, max_size) \
diff --git a/parser.y b/parser.y
index 72dff861..897a81f6 100644
--- a/parser.y
+++ b/parser.y
@@ -43,16 +43,12 @@
#include "signal.h"
#include "unwind.h"
#include "regex.h"
-#include "utf8.h"
#include "match.h"
#include "hash.h"
#include "struct.h"
#include "eval.h"
-#include "stream.h"
#include "y.tab.h"
#include "gc.h"
-#include "args.h"
-#include "cadr.h"
#include "debug.h"
#include "txr.h"
#include "itypes.h"