summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-21 14:15:10 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-21 14:15:10 -0800
commit371d2635382eb0be35426983e7be5fed703024a6 (patch)
tree3b650a7db523257dd21c129ccbdd15305441adea /lib.c
parent213412b3e747e29bf885e15b269191d9edb06a0a (diff)
downloadtxr-371d2635382eb0be35426983e7be5fed703024a6.tar.gz
txr-371d2635382eb0be35426983e7be5fed703024a6.tar.bz2
txr-371d2635382eb0be35426983e7be5fed703024a6.zip
* Makefile (OBJS): new object file, rand.o.
* eval.c: Includes rand.h header. (eval_init): New variable and functions from rand module registered. * lib.c: Includes rand.h header. (init): Call rand_init. * rand.c: New file. * rand.h: New file.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib.c b/lib.c
index 3cf9113d..eb4d2ef3 100644
--- a/lib.c
+++ b/lib.c
@@ -43,6 +43,7 @@
#include "lib.h"
#include "gc.h"
#include "arith.h"
+#include "rand.h"
#include "hash.h"
#include "unwind.h"
#include "stream.h"
@@ -3447,6 +3448,7 @@ void init(const wchar_t *pn, mem_t *(*oom)(mem_t *, size_t),
gc_init(stack_bottom);
obj_init();
arith_init();
+ rand_init();
uw_init();
stream_init();
eval_init();