diff options
-rw-r--r-- | src/core/node.c | 1 | ||||
-rw-r--r-- | src/core/node.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/core/node.c b/src/core/node.c index db65fab..8d1f16a 100644 --- a/src/core/node.c +++ b/src/core/node.c @@ -26,7 +26,6 @@ static bool _dom_node_permitted_child(const struct dom_node *parent, const struct dom_node *child); -static bool _dom_node_readonly(const struct dom_node *node); static inline void _dom_node_attach(struct dom_node *node, struct dom_node *parent, struct dom_node *previous, diff --git a/src/core/node.h b/src/core/node.h index beee0bd..bba00f5 100644 --- a/src/core/node.h +++ b/src/core/node.h @@ -8,6 +8,8 @@ #ifndef dom_internal_core_node_h_ #define dom_internal_core_node_h_ +#include <stdbool.h> + #include <dom/core/node.h> struct dom_attr; @@ -60,4 +62,6 @@ dom_exception dom_node_initialise(struct dom_node *node, void dom_node_finalise(struct dom_document *doc, struct dom_node *node); +bool _dom_node_readonly(const struct dom_node *node); + #endif |