summaryrefslogtreecommitdiff
path: root/src/core/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/node.c')
-rw-r--r--src/core/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/node.c b/src/core/node.c
index 0b0c4a6..f40431e 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -53,7 +53,7 @@ static struct dom_node_vtable node_vtable = {
*
* Return The new constructed DOM node or NULL if fail.
*/
-dom_node_internal * dom_node_create()
+dom_node_internal * dom_node_create(struct dom_document *doc)
{
dom_node_internal *node = dom_document_alloc(doc, NULL,
sizeof(struct dom_node_internal));