aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/csxbind.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/csxbind.c b/src/csxbind.c
index 8e31585..a668dbf 100644
--- a/src/csxbind.c
+++ b/src/csxbind.c
@@ -38,12 +38,10 @@ char *_exit;
static csxi csx;
-static int initialised = 0;
-void init()
+void csxbind_init()
{
- initialised = 1;
csx_init(&csx);
csxbasenames *n = &csx.basenames;
name = n->name;
@@ -80,6 +78,11 @@ void init()
_exit = n->_exit;
}
+void csxbind_free()
+{
+ csx_free(&csx);
+}
+
csxpair *L(void *head, ...)
{