summaryrefslogtreecommitdiff
path: root/src/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/internal.h b/src/internal.h
index 7ea8a5e..f1e08dc 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -56,14 +56,6 @@ inline static void add_children(struct json *dest, struct json *src) {
src->parent = dest;
}
-inline static void adjust_pointers(struct json* from, struct json* to) {
- to->prev = from->prev;
- to->next = from->next;
- if (from->prev) from->prev->next = to;
- if (from->next) from->next->prev = to;
-}
-
-
enum json_parse_result parse_value(struct json **json_out, struct raw_json *raw, size_t depth);
enum json_parse_result parse_object(struct json **json_out, struct raw_json *raw, size_t depth);
enum json_parse_result parse_array(struct json **json_out, struct raw_json *raw, size_t depth);