msxml3: Remove 'const' from the function return types.
Michael Stefaniuc
mstefani at redhat.de
Wed Nov 17 05:13:17 CST 2010
Type qualifiers have only a meaning for lvalues.
---
dlls/msxml3/xdr.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msxml3/xdr.c b/dlls/msxml3/xdr.c
index 3f1bad5..6e0da94 100644
--- a/dlls/msxml3/xdr.c
+++ b/dlls/msxml3/xdr.c
@@ -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)
--
1.6.4.4
More information about the wine-patches
mailing list