summaryrefslogtreecommitdiff
path: root/include/dom/core/element.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dom/core/element.h')
-rw-r--r--include/dom/core/element.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/dom/core/element.h b/include/dom/core/element.h
index c56e32c..4cffa2c 100644
--- a/include/dom/core/element.h
+++ b/include/dom/core/element.h
@@ -46,8 +46,9 @@ typedef struct dom_element_vtable {
struct dom_nodelist **result);
dom_exception (*dom_element_get_attribute_ns)(
struct dom_element *element,
- struct dom_string *namespace,
- struct dom_string *localname, struct dom_string **value);
+ struct dom_string *namespace,
+ struct dom_string *localname,
+ struct dom_string **value);
dom_exception (*dom_element_set_attribute_ns)(
struct dom_element *element,
struct dom_string *namespace, struct dom_string *qname,
@@ -211,7 +212,7 @@ static inline dom_exception dom_element_remove_attribute_ns(
dom_element_remove_attribute_ns(element, namespace,
localname);
}
-#define dom_element_remove_attribute_ns(e, n, l, v) \
+#define dom_element_remove_attribute_ns(e, n, l) \
dom_element_remove_attribute_ns((dom_element *) (e), \
(struct dom_string *) (n), (struct dom_string *) (l))