jscript: Make int_to_bstr() static.

Francois Gouget fgouget at free.fr
Tue Jun 26 05:33:28 CDT 2012


---
 dlls/jscript/jscript.h |    1 -
 dlls/jscript/jsutils.c |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/jscript/jscript.h b/dlls/jscript/jscript.h
index 4662afa..11b6ec9 100644
--- a/dlls/jscript/jscript.h
+++ b/dlls/jscript/jscript.h
@@ -266,7 +266,6 @@ HRESULT variant_change_type(script_ctx_t*,VARIANT*,VARIANT*,VARTYPE) DECLSPEC_HI
 
 HRESULT decode_source(WCHAR*) DECLSPEC_HIDDEN;
 
-BSTR int_to_bstr(int) DECLSPEC_HIDDEN;
 HRESULT double_to_bstr(double,BSTR*) DECLSPEC_HIDDEN;
 
 typedef struct named_item_t {
diff --git a/dlls/jscript/jsutils.c b/dlls/jscript/jsutils.c
index 0e8e304..9f5eb58 100644
--- a/dlls/jscript/jsutils.c
+++ b/dlls/jscript/jsutils.c
@@ -517,7 +517,7 @@ HRESULT to_uint32(script_ctx_t *ctx, VARIANT *v, jsexcept_t *ei, DWORD *ret)
     return S_OK;
 }
 
-BSTR int_to_bstr(int i)
+static BSTR int_to_bstr(int i)
 {
     WCHAR buf[12], *p;
     BOOL neg = FALSE;
-- 
1.7.10



More information about the wine-patches mailing list