From b7f74922a48b285358301da7477cca73a33042d1 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 26 Jun 2012 12:33:28 +0200 Subject: [PATCH] jscript: Make int_to_bstr() static. --- 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 4662afa3691..11b6ec93ab9 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 0e8e3047c61..9f5eb58f14c 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;