From 8e48b931091cbc99abeffacc7af80f363495ec23 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 14 Dec 2013 23:14:09 +0000 Subject: Remove client allocation function. --- test/filter.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'test/filter.c') diff --git a/test/filter.c b/test/filter.c index a34ade3..25c94a9 100644 --- a/test/filter.c +++ b/test/filter.c @@ -11,13 +11,6 @@ #include "testutils.h" -static void *myrealloc(void *ptr, size_t len, void *pw) -{ - UNUSED(pw); - - return realloc(ptr, len); -} - int main(int argc, char **argv) { parserutils_filter_optparams params; @@ -31,8 +24,7 @@ int main(int argc, char **argv) UNUSED(argv); /* Create input filter */ - assert(parserutils__filter_create("UTF-8", myrealloc, NULL, &input) == - PARSERUTILS_OK); + assert(parserutils__filter_create("UTF-8", &input) == PARSERUTILS_OK); /* Convert filter to UTF-8 encoding */ params.encoding.name = "UTF-8"; -- cgit v1.2.3