X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fhash-test.c;h=ae1e6f8649c8f9c9b9211474e35f9b60e4f57bfd;hb=c70b0bd774606177c893f6869ece09d0fd1d9034;hp=66a07faa297a9f5bfef681691bd5d7905a5bed7d;hpb=719a441ac92f7e1bdea7377a90b29981edd0e82e;p=libucw.git diff --git a/lib/hash-test.c b/lib/hash-test.c index 66a07faa..ae1e6f86 100644 --- a/lib/hash-test.c +++ b/lib/hash-test.c @@ -98,7 +98,7 @@ static void test(void) { char x[32]; sprintf(x, "abc%d", i); - test_new(stralloc(x)); + test_new(xstrdup(x)); } for (i=0; i<1024; i++) { @@ -116,7 +116,7 @@ static void test(void) /* TEST 3: internal strings + pools */ -#include "lib/pools.h" +#include "lib/mempool.h" static struct mempool *pool;