From dff4f5272f7c3289b0c7eebe441cf7c223bcb044 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 6 Sep 2005 23:08:01 +0000 Subject: 2004-09-06 Paul Jakma * test-buffer.c: include memory.h (main) call memory_init(). --- tests/ChangeLog | 5 +++++ tests/test-buffer.c | 3 +++ 2 files changed, 8 insertions(+) (limited to 'tests') diff --git a/tests/ChangeLog b/tests/ChangeLog index 906fd11e..f6ed4d57 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2004-09-06 Paul Jakma + + * test-buffer.c: include memory.h + (main) call memory_init(). + 2004-09-05 Paul Jakma * heavy-wq.c: (slow_func_del,slow_func_err) make them take diff --git a/tests/test-buffer.c b/tests/test-buffer.c index 11e36294..b310776f 100644 --- a/tests/test-buffer.c +++ b/tests/test-buffer.c @@ -1,4 +1,5 @@ #include +#include #include struct thread_master *master; @@ -11,6 +12,8 @@ main(int argc, char **argv) char junk[3]; char c = 'a'; + memory_init(); + if ((argc != 2) || (sscanf(argv[1], "%d%1s", &n, junk) != 1)) { fprintf(stderr, "Usage: %s \n", *argv); -- cgit v1.2.1