summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-22 19:20:43 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-22 19:20:43 -0700
commit1bbd2db0de63a5f884db060989539e99db0063a7 (patch)
tree278d9b5a98b9302e133daff2390734a01d6a53c4 /sysif.c
parent423d823c227f8c8ffb41ef32c6909e77e1ccd8f3 (diff)
downloadtxr-1bbd2db0de63a5f884db060989539e99db0063a7.tar.gz
txr-1bbd2db0de63a5f884db060989539e99db0063a7.tar.bz2
txr-1bbd2db0de63a5f884db060989539e99db0063a7.zip
arith: move c_unum and unum declaration into lib.h
The c_unum and unum functions are fairly often needed and and are closely related to c_num and num, which have always been declared in lib.h even though they live in arith.c. Files not doing arithmetic are including "arith.h" just for the sake of c_num or unum. * arith.h (c_unum, unum): Declarations removed. * lib.h (c_unum, unum): Declarations moved here. * chksum.c, debug.c, stream.c, strudel.c, sysif.c, vm.c: These files no longer require #include "arith.h" as a result, which is therefore removed.
Diffstat (limited to 'sysif.c')
-rw-r--r--sysif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysif.c b/sysif.c
index 40dec6f0..4bf76a38 100644
--- a/sysif.c
+++ b/sysif.c
@@ -96,7 +96,6 @@
#include "eval.h"
#include "args.h"
#include "struct.h"
-#include "arith.h"
#include "itypes.h"
#include "txr.h"
#include "sysif.h"