Module: wine Branch: master Commit: b7f74922a48b285358301da7477cca73a33042d1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b7f74922a48b285358301da747...
Author: Francois Gouget fgouget@free.fr Date: Tue Jun 26 12:33:28 2012 +0200
jscript: Make int_to_bstr() static.
---
dlls/jscript/jscript.h | 1 - dlls/jscript/jsutils.c | 2 +- 2 files changed, 1 insertions(+), 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;