[PATCH] webservices: Make alloc_float_text() static. (try2)

Francois Gouget fgouget at free.fr
Thu Jan 4 09:04:36 CST 2018


Signed-off-by: Francois Gouget <fgouget at free.fr>
---

I sent this patch back in september but I don't remember getting a reply 
(I apologize if I forgot). It's possible the intention was to call this 
function elsewhere at some point but it does not seem to have happened. 
So I'm resubmitting.

 dlls/webservices/reader.c              | 2 +-
 dlls/webservices/webservices_private.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/webservices/reader.c b/dlls/webservices/reader.c
index a05b1edb339..2ca1a8fe662 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -852,7 +852,7 @@ WS_XML_UINT64_TEXT *alloc_uint64_text( UINT64 value )
     return ret;
 }
 
-WS_XML_FLOAT_TEXT *alloc_float_text( float value )
+static WS_XML_FLOAT_TEXT *alloc_float_text( float value )
 {
     WS_XML_FLOAT_TEXT *ret;
 
diff --git a/dlls/webservices/webservices_private.h b/dlls/webservices/webservices_private.h
index e477e0fc3f6..3889bde0a1a 100644
--- a/dlls/webservices/webservices_private.h
+++ b/dlls/webservices/webservices_private.h
@@ -74,7 +74,6 @@ WS_XML_BOOL_TEXT *alloc_bool_text( BOOL ) DECLSPEC_HIDDEN;
 WS_XML_INT32_TEXT *alloc_int32_text( INT32 ) DECLSPEC_HIDDEN;
 WS_XML_INT64_TEXT *alloc_int64_text( INT64 ) DECLSPEC_HIDDEN;
 WS_XML_UINT64_TEXT *alloc_uint64_text( UINT64 ) DECLSPEC_HIDDEN;
-WS_XML_FLOAT_TEXT *alloc_float_text( float ) DECLSPEC_HIDDEN;
 WS_XML_DOUBLE_TEXT *alloc_double_text( double ) DECLSPEC_HIDDEN;
 WS_XML_GUID_TEXT *alloc_guid_text( const GUID * ) DECLSPEC_HIDDEN;
 WS_XML_UNIQUE_ID_TEXT *alloc_unique_id_text( const GUID * ) DECLSPEC_HIDDEN;
-- 
2.15.1



More information about the wine-patches mailing list