Francois Gouget : jscript: Make regexp_match() static.
Alexandre Julliard
julliard at winehq.org
Mon Oct 1 13:35:00 CDT 2012
Module: wine
Branch: master
Commit: a809803a929d0e55b0abbebd1f2574c1b1a6e279
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a809803a929d0e55b0abbebd1f2574c1b1a6e279
Author: Francois Gouget <fgouget at free.fr>
Date: Sat Sep 29 18:02:28 2012 +0200
jscript: Make regexp_match() static.
---
dlls/jscript/jscript.h | 1 -
dlls/jscript/regexp.c | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/jscript/jscript.h b/dlls/jscript/jscript.h
index 99d3863..214adb2 100644
--- a/dlls/jscript/jscript.h
+++ b/dlls/jscript/jscript.h
@@ -382,7 +382,6 @@ HRESULT create_jscaller(script_ctx_t*) DECLSPEC_HIDDEN;
#define REM_NO_CTX_UPDATE 0x0004
HRESULT regexp_match_next(script_ctx_t*,jsdisp_t*,DWORD,const WCHAR*,DWORD,const WCHAR**,match_result_t**,
DWORD*,DWORD*,match_result_t*) DECLSPEC_HIDDEN;
-HRESULT regexp_match(script_ctx_t*,jsdisp_t*,const WCHAR*,DWORD,BOOL,match_result_t**,DWORD*) DECLSPEC_HIDDEN;
HRESULT parse_regexp_flags(const WCHAR*,DWORD,DWORD*) DECLSPEC_HIDDEN;
HRESULT regexp_string_match(script_ctx_t*,jsdisp_t*,BSTR,jsval_t*) DECLSPEC_HIDDEN;
diff --git a/dlls/jscript/regexp.c b/dlls/jscript/regexp.c
index b53b848..84aea58 100644
--- a/dlls/jscript/regexp.c
+++ b/dlls/jscript/regexp.c
@@ -3448,7 +3448,7 @@ HRESULT regexp_match_next(script_ctx_t *ctx, jsdisp_t *dispex, DWORD rem_flags,
return hres;
}
-HRESULT regexp_match(script_ctx_t *ctx, jsdisp_t *dispex, const WCHAR *str, DWORD len, BOOL gflag,
+static HRESULT regexp_match(script_ctx_t *ctx, jsdisp_t *dispex, const WCHAR *str, DWORD len, BOOL gflag,
match_result_t **match_result, DWORD *result_cnt)
{
RegExpInstance *This = (RegExpInstance*)dispex;
More information about the wine-cvs
mailing list