Stub messages_get, instead

svn path=/trunk/netsurf/; revision=13057
This commit is contained in:
John Mark Bell 2011-10-15 13:06:36 +00:00
parent 40f9143f7e
commit f39e150065
2 changed files with 9 additions and 2 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/hashtable.c utils/log.c utils/messages.c utils/nsurl.c utils/utils.c test/nsurl.c
nsurl_SRCS := utils/log.c utils/nsurl.c utils/utils.c test/nsurl.c
nsurl_CFLAGS := $(shell pkg-config --cflags libwapcaplet)
nsurl_LDFLAGS := $(shell pkg-config --libs libwapcaplet)

View File

@ -6,8 +6,9 @@
#include <libwapcaplet/libwapcaplet.h>
#include "desktop/netsurf.h"
#include "utils/nsurl.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/nsurl.h"
#include "utils/utils.h"
/* desktop/netsurf.h */
@ -23,6 +24,12 @@ 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;