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 /match.c | |
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 'match.c')
-rw-r--r-- | match.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ #include "hash.h" #include "eval.h" #include "cadr.h" +#include "sysif.h" #include "match.h" int opt_print_bindings = 0; |