summaryrefslogtreecommitdiff
path: root/include/libwapcaplet/libwapcaplet.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-10-15 14:48:18 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2016-10-15 15:26:05 +0100
commitf9db354827f8e88457dd8a0ccf36d8383f715037 (patch)
tree386ef39a15cd6c110377949af7d32a58bd2aecc3 /include/libwapcaplet/libwapcaplet.h
parent45e8eec9340f6780313346862da0d75f4a968f86 (diff)
downloadlibwapcaplet-f9db354827f8e88457dd8a0ccf36d8383f715037.tar.gz
libwapcaplet-f9db354827f8e88457dd8a0ccf36d8383f715037.tar.bz2
Enable lwc_string_caseless_hash_value function, and include stddef.h for NULL.
Diffstat (limited to 'include/libwapcaplet/libwapcaplet.h')
-rw-r--r--include/libwapcaplet/libwapcaplet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libwapcaplet/libwapcaplet.h b/include/libwapcaplet/libwapcaplet.h
index 29cd47e..d8cc841 100644
--- a/include/libwapcaplet/libwapcaplet.h
+++ b/include/libwapcaplet/libwapcaplet.h
@@ -16,6 +16,7 @@ extern "C"
#include <sys/types.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdint.h>
#include <assert.h>
@@ -259,7 +260,6 @@ lwc__intern_caseless_string(lwc_string *str);
* @return Result of operation, if not ok then value pointed to by \a ret will
* not be valid.
*/
-/*
static inline lwc_error lwc_string_caseless_hash_value(
lwc_string *str, lwc_hash *hash)
{
@@ -273,7 +273,7 @@ static inline lwc_error lwc_string_caseless_hash_value(
*hash = str->insensitive->hash;
return lwc_error_ok;
}
-*/
+
/**
* Iterate the context and return every string in it.