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

Alexandre Julliard julliard at winehq.org
Wed Nov 17 10:38:04 CST 2010


Module: wine
Branch: master
Commit: 2b1e03369d4693e0a539b457f65c094aa3aeb36a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2b1e03369d4693e0a539b457f65c094aa3aeb36a

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Nov 17 12:13:17 2010 +0100

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

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)




More information about the wine-cvs mailing list