Skip to content

Commit

Permalink
2004-09-06 Paul Jakma <paul@dishone.st>
Browse files Browse the repository at this point in the history
	* test-buffer.c: include memory.h
          (main) call memory_init().
  • Loading branch information
paul committed Sep 6, 2005
1 parent 6379b96 commit dff4f52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2004-09-06 Paul Jakma <paul@dishone.st>

* test-buffer.c: include memory.h
(main) call memory_init().

2004-09-05 Paul Jakma <paul@dishone.st>

* heavy-wq.c: (slow_func_del,slow_func_err) make them take
Expand Down
3 changes: 3 additions & 0 deletions tests/test-buffer.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <zebra.h>
#include <memory.h>
#include <buffer.h>

struct thread_master *master;
Expand All @@ -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 <number of chars to simulate>\n", *argv);
Expand Down

0 comments on commit dff4f52

Please sign in to comment.