Commit 2b1e0336 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msxml3: Remove 'const' from the function return types.

Type qualifiers have only a meaning for lvalues.
parent 3fc6e08f
......@@ -128,7 +128,7 @@ static inline xmlNodePtr get_schema(xmlNodePtr node)
return xmlDocGetRootElement(node->doc);
}
static inline const xmlNodePtr get_child(xmlNodePtr node, xmlChar const* name)
static inline xmlNodePtr get_child(xmlNodePtr node, xmlChar const* name)
{
xmlNodePtr child = NULL;
if (node)
......@@ -143,9 +143,9 @@ static inline const xmlNodePtr get_child(xmlNodePtr node, xmlChar const* name)
return child;
}
static inline const xmlNodePtr get_child_with_attr(xmlNodePtr node, xmlChar const* name,
xmlChar const* attr_ns, xmlChar const* attr_name,
xmlChar const* attr_val)
static inline xmlNodePtr get_child_with_attr(xmlNodePtr node, xmlChar const* name,
xmlChar const* attr_ns, xmlChar const* attr_name,
xmlChar const* attr_val)
{
xmlChar* str;
if (node)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment