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

Type qualifiers have only a meaning for lvalues.
This commit is contained in:
Michael Stefaniuc 2010-11-17 12:13:17 +01:00 committed by Alexandre Julliard
parent 3fc6e08f2a
commit 2b1e03369d
1 changed files with 4 additions and 4 deletions

View File

@ -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,7 +143,7 @@ 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,
static inline xmlNodePtr get_child_with_attr(xmlNodePtr node, xmlChar const* name,
xmlChar const* attr_ns, xmlChar const* attr_name,
xmlChar const* attr_val)
{