summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/document_type.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/document_type.c b/src/core/document_type.c
index 4b07e3f..1c9d0cb 100644
--- a/src/core/document_type.c
+++ b/src/core/document_type.c
@@ -212,10 +212,7 @@ void _dom_document_type_finalise(struct dom_document_type *doctype)
dom_exception _dom_document_type_get_name(struct dom_document_type *doc_type,
struct dom_string **result)
{
- UNUSED(doc_type);
- UNUSED(result);
-
- return DOM_NOT_SUPPORTED_ERR;
+ return dom_node_get_node_name(doc_type, result);
}
/**