From 7737a59d775aeb6dc14868fef6b2c95ed948d17f Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 4 Dec 2010 15:55:55 +0000 Subject: Remove use of lwc_initialise and also parserutils.h includes. r=vince svn path=/trunk/libcss/; revision=10964 --- test/number.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'test/number.c') diff --git a/test/number.c b/test/number.c index ca9ddb5..392d9ef 100644 --- a/test/number.c +++ b/test/number.c @@ -8,13 +8,6 @@ #include "testutils.h" -static void *myrealloc(void *ptr, size_t len, void *pw) -{ - UNUSED(pw); - - return realloc(ptr, len); -} - typedef struct line_ctx { size_t buflen; size_t bufused; @@ -58,8 +51,6 @@ int main(int argc, char **argv) ctx.indata = false; ctx.inexp = false; - assert(lwc_initialise(myrealloc, NULL, 0) == lwc_error_ok); - assert(parse_testfile(argv[2], handle_line, &ctx) == true); /* and run final test */ -- cgit v1.2.3