summaryrefslogtreecommitdiffstats
path: root/match.c
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 /match.c
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 'match.c')
-rw-r--r--match.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/match.c b/match.c
index 0e066fe9..1d7bc986 100644
--- a/match.c
+++ b/match.c
@@ -47,6 +47,7 @@
#include "hash.h"
#include "eval.h"
#include "cadr.h"
+#include "sysif.h"
#include "match.h"
int opt_print_bindings = 0;