msxml3: Remove 'const' from the function return types.
Type qualifiers have only a meaning for lvalues.
This commit is contained in:
parent
3fc6e08f2a
commit
2b1e03369d
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue