summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-05-01 19:58:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-05-01 19:58:13 -0700
commit251546a2204692c62cb51bee44c3a7601d82b83b (patch)
treeb444aeb55a68d0fdc79d5fdfbe48c66389405079 /txr.c
parent9fd39822bb076a40601b4524bd1cc6896f5abecf (diff)
downloadtxr-251546a2204692c62cb51bee44c3a7601d82b83b.tar.gz
txr-251546a2204692c62cb51bee44c3a7601d82b83b.tar.bz2
txr-251546a2204692c62cb51bee44c3a7601d82b83b.zip
Move initialization calls to more suitable place.
* lib.c (init): Initialize parser, syslog and glob modules here. * txr.c (main): Remove initialization of parser, syslog and glob modules from here.
Diffstat (limited to 'txr.c')
-rw-r--r--txr.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/txr.c b/txr.c
index 7a774b69..392fba95 100644
--- a/txr.c
+++ b/txr.c
@@ -49,8 +49,6 @@
#include "match.h"
#include "utf8.h"
#include "debug.h"
-#include "syslog.h"
-#include "glob.h"
#include "eval.h"
#include "regex.h"
#include "arith.h"
@@ -303,14 +301,7 @@ int main(int argc, char **argv)
progname_u8 = argv[0];
init(progname, oom_realloc_handler, &stack_bottom);
match_init();
- parse_init();
debug_init();
-#if HAVE_SYSLOG
- syslog_init();
-#endif
-#if HAVE_GLOB
- glob_init();
-#endif
sysroot_init();
return txr_main(argc, argv);
}