mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:01:17 +00:00
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,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)
|
||||
|
|
Loading…
Reference in a new issue