webservices: Make alloc_float_text() static.

Francois Gouget fgouget at free.fr
Thu Sep 7 19:24:34 CDT 2017


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/webservices/reader.c              | 2 +-
 dlls/webservices/webservices_private.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

It was introduced in 82306e84 on 2017-07-20 and has not been used 
outside reader.c since then. Ignore this patch if there are ongoing 
plans to use it elsewhere.


diff --git a/dlls/webservices/reader.c b/dlls/webservices/reader.c
index 0e5cdd361a3..135137adb71 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -839,7 +839,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 d30f7a39f9e..80ef0f20fd4 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.14.1




More information about the wine-patches mailing list