From c330832ce716a50d0f8641d354d3b6aed7ca836f Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 12 Dec 2018 00:13:12 -0800 Subject: Eliminate various unneeded header inclusions. * hash.c: Don't include "cadr.h". * stream.c: Don't include "struct.h". * strudel.c: No , ALLOCA_H, "args.h" or "utf8.h". * vm.c: No "hash.h". --- hash.c | 1 - stream.c | 1 - strudel.c | 4 ---- vm.c | 1 - 4 files changed, 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 #include #include -#include #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" -- cgit v1.2.3