aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/node.c b/src/node.c
index 664680a9..3f841b18 100644
--- a/src/node.c
+++ b/src/node.c
@@ -16,11 +16,14 @@
#include "serd_internal.h"
+#include <assert.h>
+#include <float.h>
+#include <math.h>
#include <stdlib.h>
#include <string.h>
-#include <math.h>
-#include <float.h>
+#include "node.h"
+#include "string_utils.h"
#ifdef _WIN32
# ifndef isnan
@@ -64,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)
{