From bc87d4ef57244188fe76ec02827569360a5c62db Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Mon, 4 Mar 2019 13:37:18 +0900 Subject: [PATCH] refactoring --- src/regcomp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/regcomp.c b/src/regcomp.c index 06142b6..a25f8b1 100644 --- a/src/regcomp.c +++ b/src/regcomp.c @@ -29,6 +29,8 @@ #include "regparse.h" +#define OPS_INIT_SIZE 8 + OnigCaseFoldType OnigDefaultCaseFoldFlag = ONIGENC_CASE_FOLD_MIN; #if 0 @@ -6238,8 +6240,6 @@ extern int onig_compile(regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigErrorInfo* einfo) { -#define OPS_INIT_SIZE 8 - extern int onig_init_for_match_at(regex_t* reg); int r; -- 2.40.0