Remove unnecessary stub functions
svn path=/trunk/netsurf/; revision=13060
This commit is contained in:
parent
5b644acf61
commit
f933d70661
|
@ -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)
|
||||
|
||||
|
|
18
test/nsurl.c
18
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;
|
||||
|
|
Loading…
Reference in New Issue