diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-04-22 19:41:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-04-22 19:41:38 -0700 |
commit | 1e43bc3bc6158a918736adf96792815afba268da (patch) | |
tree | fe54c7b28c245160605b9e6b9baab0b09d4ed930 | |
parent | b692d3b5b9470551da36768ac47f8aa6805be84b (diff) | |
download | txr-1e43bc3bc6158a918736adf96792815afba268da.tar.gz txr-1e43bc3bc6158a918736adf96792815afba268da.tar.bz2 txr-1e43bc3bc6158a918736adf96792815afba268da.zip |
Remove unnecessary #include directives.
Time for some spring cleaning.
* args.c, arith.c, buf.c, cadr.c, chksum.c, debug.c, ftw.c,
gc.c, gencadr.txr, glob.c, hash.c, lisplib.c, match.c,
parser.c, parser.l, parser.y, rand.c, signal.c, stream.c,
strudel.c, syslog.c, tree.c, unwind.c, utf8.c, vm.c: Numerous
unnecessary #include directives removed.
-rw-r--r-- | args.c | 1 | ||||
-rw-r--r-- | arith.c | 1 | ||||
-rw-r--r-- | buf.c | 1 | ||||
-rw-r--r-- | cadr.c | 1 | ||||
-rw-r--r-- | chksum.c | 2 | ||||
-rw-r--r-- | debug.c | 9 | ||||
-rw-r--r-- | ftw.c | 1 | ||||
-rw-r--r-- | gc.c | 1 | ||||
-rw-r--r-- | gencadr.txr | 1 | ||||
-rw-r--r-- | glob.c | 1 | ||||
-rw-r--r-- | hash.c | 1 | ||||
-rw-r--r-- | lisplib.c | 1 | ||||
-rw-r--r-- | match.c | 2 | ||||
-rw-r--r-- | parser.c | 1 | ||||
-rw-r--r-- | parser.l | 6 | ||||
-rw-r--r-- | parser.y | 4 | ||||
-rw-r--r-- | rand.c | 1 | ||||
-rw-r--r-- | signal.c | 1 | ||||
-rw-r--r-- | stream.c | 3 | ||||
-rw-r--r-- | strudel.c | 3 | ||||
-rw-r--r-- | syslog.c | 1 | ||||
-rw-r--r-- | tree.c | 7 | ||||
-rw-r--r-- | unwind.c | 1 | ||||
-rw-r--r-- | utf8.c | 1 | ||||
-rw-r--r-- | vm.c | 2 |
25 files changed, 0 insertions, 54 deletions
@@ -28,7 +28,6 @@ #include <stddef.h> #include <signal.h> #include <string.h> -#include <stdarg.h> #include "config.h" #include "alloca.h" #include "lib.h" @@ -30,7 +30,6 @@ #include <stddef.h> #include <string.h> #include <wctype.h> -#include <stdarg.h> #include <wchar.h> #include <math.h> #include <signal.h> @@ -25,7 +25,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <stddef.h> #include <wchar.h> #include <limits.h> #include <float.h> @@ -31,7 +31,6 @@ #include <stdarg.h> #include <stdlib.h> #include <limits.h> -#include <signal.h> #include "config.h" #include "lib.h" #include "eval.h" @@ -26,7 +26,6 @@ #include <stddef.h> #include <wchar.h> #include <limits.h> -#include <float.h> #include <string.h> #include <stdlib.h> #include <stdarg.h> @@ -34,7 +33,6 @@ #include <stdio.h> #include "config.h" #include "lib.h" -#include "gc.h" #include "itypes.h" #include "signal.h" #include "unwind.h" @@ -26,21 +26,12 @@ */ #include <stdio.h> -#include <stdlib.h> #include <stdarg.h> #include <wchar.h> -#include <signal.h> #include "config.h" #include "lib.h" -#include "gc.h" -#include "args.h" -#include "signal.h" -#include "unwind.h" #include "stream.h" -#include "parser.h" -#include "struct.h" #include "eval.h" -#include "txr.h" #include "debug.h" int opt_debugger; @@ -25,7 +25,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <stdarg.h> #include <wchar.h> #include <signal.h> #include <stdlib.h> @@ -39,7 +39,6 @@ #include "lib.h" #include "stream.h" #include "hash.h" -#include "txr.h" #include "eval.h" #include "gc.h" #include "signal.h" diff --git a/gencadr.txr b/gencadr.txr index 650a0100..fea5b7a0 100644 --- a/gencadr.txr +++ b/gencadr.txr @@ -25,7 +25,6 @@ #include <stdarg.h> #include <stdlib.h> #include <limits.h> -#include <signal.h> #include "config.h" #include "lib.h" #include "eval.h" @@ -25,7 +25,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <stdarg.h> #include <wchar.h> #include <signal.h> #include <stdlib.h> @@ -46,7 +46,6 @@ #include "stream.h" #include "eval.h" #include "itypes.h" -#include "arith.h" #include "sysif.h" #include "hash.h" @@ -32,7 +32,6 @@ #include "config.h" #include "lib.h" #include "eval.h" -#include "signal.h" #include "stream.h" #include "hash.h" #include "gc.h" @@ -45,10 +45,8 @@ #include "txr.h" #include "filter.h" #include "hash.h" -#include "debug.h" #include "eval.h" #include "cadr.h" -#include "arith.h" #include "match.h" int opt_print_bindings = 0; @@ -33,7 +33,6 @@ #include <stdarg.h> #include <wchar.h> #include <signal.h> -#include <ctype.h> #include <wctype.h> #include <errno.h> #include "config.h" @@ -32,15 +32,9 @@ #include <stdarg.h> #include <stdlib.h> #include <limits.h> -#include <errno.h> -#include <dirent.h> #include <wchar.h> -#include <setjmp.h> #include <signal.h> #include "config.h" -#if HAVE_UNISTD_H -#include <unistd.h> -#endif #include "lib.h" #include "gc.h" #include "stream.h" @@ -31,10 +31,7 @@ #include <stdio.h> #include <assert.h> #include <limits.h> -#include <dirent.h> #include <stdlib.h> -#include <stdarg.h> -#include <setjmp.h> #include <wchar.h> #include <signal.h> #include "config.h" @@ -49,7 +46,6 @@ #include "eval.h" #include "tree.h" #include "y.tab.h" -#include "gc.h" #include "debug.h" #include "txr.h" #include "itypes.h" @@ -27,7 +27,6 @@ #include <string.h> #include <wctype.h> -#include <stdarg.h> #include <wchar.h> #include <limits.h> #include <signal.h> @@ -27,7 +27,6 @@ #include <stdlib.h> #include <string.h> -#include <stdarg.h> #include <errno.h> #include <wchar.h> #include <signal.h> @@ -53,9 +53,6 @@ #if HAVE_WINDOWS_H #include <windows.h> #endif -#if HAVE_SOCKETS -#include <sys/socket.h> -#endif #if HAVE_WSPAWN || HAVE_SPAWN #include <process.h> #endif @@ -25,12 +25,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <stddef.h> #include <stdio.h> -#include <stdlib.h> #include <stdarg.h> #include <wchar.h> -#include <signal.h> #include "config.h" #include "lib.h" #include "stream.h" @@ -30,7 +30,6 @@ #include <stdlib.h> #include <stdarg.h> #include <wchar.h> -#include <signal.h> #include <syslog.h> #include "config.h" #include "alloca.h" @@ -34,19 +34,12 @@ #include <signal.h> #include "config.h" #include "alloca.h" -#if HAVE_UNISTD_H -#include <unistd.h> -#endif #include "lib.h" #include "gc.h" -#include "args.h" -#include "txr.h" #include "signal.h" #include "unwind.h" #include "stream.h" #include "eval.h" -#include "itypes.h" -#include "arith.h" #include "hash.h" #include "tree.h" @@ -46,7 +46,6 @@ #include "struct.h" #include "cadr.h" #include "alloca.h" -#include "arith.h" #include "unwind.h" #include "debug.h" @@ -25,7 +25,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -26,9 +26,7 @@ */ #include <stddef.h> -#include <stdio.h> #include <string.h> -#include <stdarg.h> #include <stdlib.h> #include <limits.h> #include <signal.h> |