summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-07 22:05:38 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-07 22:05:38 -0700
commitaf996f5191f3385769e2eb58153cc9039d0fcc28 (patch)
tree3889266b1999e63066fd9fc4193c3ca78f60bdd8 /lib.h
parente7c7d32277dd4ab3b381f9d5daa03e4b2ded75d1 (diff)
downloadtxr-af996f5191f3385769e2eb58153cc9039d0fcc28.tar.gz
txr-af996f5191f3385769e2eb58153cc9039d0fcc28.tar.bz2
txr-af996f5191f3385769e2eb58153cc9039d0fcc28.zip
C++ upkeep: resolve multiple definitions of fun_k.
* eval.c (fun_k): Global definition removed. (eval_init): Do not initialize fun_k here. * filter.c (fun_k): Definition removed. (filter_init): Do not initialize fun_k. * filter.h (fun_k): Declaration removed. * lib.c (fun_k): Defined in this file now. (obj_init): Initialize fun_k here. * lib.h (fun_k): Declare here.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.h b/lib.h
index 86cf0b01..fd05954f 100644
--- a/lib.h
+++ b/lib.h
@@ -397,7 +397,7 @@ extern val gensym_counter_s;
#define gensym_counter (deref(lookup_var_l(nil, gensym_counter_s)))
-extern val nothrow_k, args_k, colon_k, auto_k;
+extern val nothrow_k, args_k, colon_k, auto_k, fun_k;
extern val null_string;
extern val null_list; /* (nil) */