aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/node.c b/src/node.c
index c2fabe0b..33695a45 100644
--- a/src/node.c
+++ b/src/node.c
@@ -16,11 +16,15 @@
#include "serd_internal.h"
+#include <assert.h>
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
+#include "node.h"
+#include "string_utils.h"
+
#ifdef _WIN32
# ifndef isnan
# define isnan(x) _isnan(x)
@@ -63,12 +67,6 @@ serd_node_malloc(size_t n_bytes, SerdNodeFlags flags, SerdType type)
return node;
}
-char*
-serd_node_buffer(SerdNode* node)
-{
- return (char*)(node + 1);
-}
-
void
serd_node_set(SerdNode** dst, const SerdNode* src)
{