Remove unnecessary stub functions

svn path=/trunk/netsurf/; revision=13060
This commit is contained in:
John Mark Bell 2011-10-15 13:12:34 +00:00
parent 5b644acf61
commit f933d70661
2 changed files with 1 additions and 19 deletions

View File

@ -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)

View File

@ -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;