diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-10-16 06:36:41 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-10-16 06:36:41 -0700 |
commit | de8bd6233c62718c592694a2b8463e329567d85f (patch) | |
tree | 5423d47105d75a96946677a1086c2eb6d412df7f /sysif.h | |
parent | cd22aba61b64883e6026cd1fc31cc2f5a426f314 (diff) | |
download | txr-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 'sysif.h')
-rw-r--r-- | sysif.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ extern val atime_nsec_s, mtime_nsec_s, ctime_nsec_s; extern val path_s; val errno_to_file_error(int err); +val env(void); val getenv_wrap(val name); val errno_to_str(int err); val at_exit_call(val func); |