]> git.puffer.fish Git - mirror/frr.git/commitdiff
2004-09-06 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Tue, 6 Sep 2005 23:08:01 +0000 (23:08 +0000)
committerpaul <paul>
Tue, 6 Sep 2005 23:08:01 +0000 (23:08 +0000)
* test-buffer.c: include memory.h
          (main) call memory_init().

tests/ChangeLog
tests/test-buffer.c

index 906fd11e4a718bb9b0ec868c32d41942842a0b10..f6ed4d574b824cf8b2c22c1a080f317df966e48a 100644 (file)
@@ -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
index 11e3629488e2558a54a40df57607db9fdd66cc28..b310776f86cc1fb667a3a89e5ebbd54d7d8e49f9 100644 (file)
@@ -1,4 +1,5 @@
 #include <zebra.h>
+#include <memory.h>
 #include <buffer.h>
 
 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 <number of chars to simulate>\n", *argv);