From 1bbd2db0de63a5f884db060989539e99db0063a7 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 22 Apr 2020 19:20:43 -0700 Subject: 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. --- vm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index 9c8e270c..257157a9 100644 --- a/vm.c +++ b/vm.c @@ -43,7 +43,6 @@ #include "args.h" #include "itypes.h" #include "buf.h" -#include "arith.h" #include "vmop.h" #include "vm.h" -- cgit v1.2.3