summaryrefslogtreecommitdiff
path: root/src/util/dom-str.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/dom-str.c')
-rw-r--r--src/util/dom-str.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/dom-str.c b/src/util/dom-str.c
index 3c0865a..db53c76 100644
--- a/src/util/dom-str.c
+++ b/src/util/dom-str.c
@@ -23,9 +23,9 @@ dom_string *nsl_dom_str_characterdata_modified;
/* Exported function, documented in src/util/dom-str.h */
-nslayout_error nsl_dom_str_init(void)
+nsl_error nsl_dom_str_init(void)
{
- nslayout_error err;
+ nsl_error err;
dom_exception exc;
exc = dom_string_create((const uint8_t *)"DOMNodeInserted",
@@ -59,7 +59,7 @@ nslayout_error nsl_dom_str_init(void)
goto out;
}
- err = NSLAYOUT_OK;
+ err = NSL_OK;
out:
if (exc != DOM_NO_ERR) {
printf("Failed to initialise dom_str!\n");
@@ -72,7 +72,7 @@ out:
/* Exported function, documented in src/util/dom-str.h */
-nslayout_error nsl_dom_str_fini(void)
+nsl_error nsl_dom_str_fini(void)
{
dom_string_unref(nsl_dom_str_node_inserted);
dom_string_unref(nsl_dom_str_node_removed);
@@ -80,5 +80,5 @@ nslayout_error nsl_dom_str_fini(void)
dom_string_unref(nsl_dom_str_attr_modified);
dom_string_unref(nsl_dom_str_characterdata_modified);
- return NSLAYOUT_OK;
+ return NSL_OK;
}