diff options
Diffstat (limited to 'test/lib/utils.c')
-rw-r--r-- | test/lib/utils.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/lib/utils.c b/test/lib/utils.c deleted file mode 100644 index 739933f..0000000 --- a/test/lib/utils.c +++ /dev/null @@ -1,34 +0,0 @@ -/* - * This file is part of libdom test suite. - * Licensed under the MIT License, - * http://www.opensource.org/licenses/mit-license.php - * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org> - */ - -#include <stdarg.h> -#include <stdio.h> -#include <stdlib.h> - -#include "utils.h" - -void *myrealloc(void *ptr, size_t len, void *pw) -{ - UNUSED(pw); - - return realloc(ptr, len); -} - -void mymsg(uint32_t severity, void *ctx, const char *msg, ...) -{ - va_list l; - - UNUSED(ctx); - - va_start(l, msg); - - fprintf(stderr, "%d: ", severity); - vfprintf(stderr, msg, l); - fprintf(stderr, "\n"); -} - - |