From f933d7066156f865af85f186e68c4ba50b1fce5b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 15 Oct 2011 13:12:34 +0000 Subject: Remove unnecessary stub functions svn path=/trunk/netsurf/; revision=13060 --- test/Makefile | 2 +- test/nsurl.c | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) (limited to 'test') diff --git a/test/Makefile b/test/Makefile index 15fb16314..44469de67 100644 --- a/test/Makefile +++ b/test/Makefile @@ -21,7 +21,7 @@ urldbtest_SRCS := content/urldb.c utils/url.c utils/utils.c utils/log.c \ urldbtest_CFLAGS := -O2 urldbtest_LDFLAGS := -nsurl_SRCS := utils/log.c utils/nsurl.c utils/utils.c test/nsurl.c +nsurl_SRCS := utils/log.c utils/nsurl.c test/nsurl.c nsurl_CFLAGS := $(shell pkg-config --cflags libwapcaplet) nsurl_LDFLAGS := $(shell pkg-config --libs libwapcaplet) diff --git a/test/nsurl.c b/test/nsurl.c index 9ac832dbd..e2503672b 100644 --- a/test/nsurl.c +++ b/test/nsurl.c @@ -7,29 +7,11 @@ #include "desktop/netsurf.h" #include "utils/log.h" -#include "utils/messages.h" #include "utils/nsurl.h" -#include "utils/utils.h" /* desktop/netsurf.h */ bool verbose_log = true; -/* utils/utils.h */ -void die(const char * const error) -{ -} - -/* utils/utils.h */ -void warn_user(const char *warning, const char *detail) -{ -} - -/* utils/messages.h */ -const char *messages_get(const char *key) -{ - return key; -} - struct test_pairs { const char* test; const char* res; -- cgit v1.2.3