summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-09-22 23:36:52 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-09-22 23:36:52 +0000
commitc5cebc0e86f33dca5b008dcbd7115f9bd86887dc (patch)
tree6a5f39424660b39b103d7ab4daa3add4e148aaf5
parent254349467693470118a54823dd2bc983d79193fa (diff)
downloadlibdom-c5cebc0e86f33dca5b008dcbd7115f9bd86887dc.tar.gz
libdom-c5cebc0e86f33dca5b008dcbd7115f9bd86887dc.tar.bz2
Make _dom_node_readonly() accessible to library internals
svn path=/trunk/dom/; revision=3576
-rw-r--r--src/core/node.c1
-rw-r--r--src/core/node.h4
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