summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-10-16 06:36:41 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-10-16 06:36:41 -0700
commitde8bd6233c62718c592694a2b8463e329567d85f (patch)
tree5423d47105d75a96946677a1086c2eb6d412df7f /lib.h
parentcd22aba61b64883e6026cd1fc31cc2f5a426f314 (diff)
downloadtxr-de8bd6233c62718c592694a2b8463e329567d85f.tar.gz
txr-de8bd6233c62718c592694a2b8463e329567d85f.tar.bz2
txr-de8bd6233c62718c592694a2b8463e329567d85f.zip
env: move function to sysif.c
* lib.c (env_list): Static variable removed; now appears in sysif.c (env): Function removed; now in sysif.c. (obj_init): Don't gc-protect env_list here any more. * lib.h (env): Declaration removed. * match.c: Must include "sysif.h" now for env. * sysif.c (env_list): Static variable moved here. (env): Function moved here. (sysif_init): env_list gc-protected here. * sysif.h (env): Declared.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib.h b/lib.h
index 1af21e7e..535c2c45 100644
--- a/lib.h
+++ b/lib.h
@@ -1195,7 +1195,6 @@ val set_from(val range, val from);
val set_to(val range, val to);
val in_range(val range, val num);
val in_range_star(val range, val num);
-val env(void);
void out_str_char(wchar_t ch, val out, int *semi_flag, int regex);
val obj_print_impl(val obj, val out, val pretty, struct strm_ctx *);
val obj_print(val obj, val stream, val pretty);