summaryrefslogtreecommitdiffstats
path: root/ffi.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-03-30 22:09:46 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-03-30 22:09:46 -0700
commit9e464a4cc18c5ca8ccdc6ac30e082b8d6b315d67 (patch)
treea29f239ef4d06d4385495d5b1f21388993898008 /ffi.c
parent06021c4b490ff237bf7ef13ab0f7bce0e5ef11be (diff)
downloadtxr-9e464a4cc18c5ca8ccdc6ac30e082b8d6b315d67.tar.gz
txr-9e464a4cc18c5ca8ccdc6ac30e082b8d6b315d67.tar.bz2
txr-9e464a4cc18c5ca8ccdc6ac30e082b8d6b315d67.zip
c++ maintenance: multiple defs of mod_s and bit_s.
* arith.h (mod_s, bit_s): Add extern declarations. * ffi.c (bit_s): Remove definition. * match.c (mod_s): Remove definition. Include "arith.h" to obtain declaration of mod_s.
Diffstat (limited to 'ffi.c')
-rw-r--r--ffi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi.c b/ffi.c
index f54ecddd..7dd5b9e5 100644
--- a/ffi.c
+++ b/ffi.c
@@ -122,7 +122,7 @@ val ptr_in_s, ptr_out_s, ptr_in_d_s, ptr_out_d_s, ptr_out_s_s, ptr_s;
val closure_s;
-val sbit_s, ubit_s, bit_s;
+val sbit_s, ubit_s; /* bit_s is in arith.c */
val enum_s, enumed_s;