From bc2f8924cbeb7cc6045eb38d18f96ae4169528f6 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Fri, 12 Jan 2018 13:25:44 +0900 Subject: [PATCH] refactoring --- src/regcomp.c | 2 +- src/regint.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/regcomp.c b/src/regcomp.c index 25528cc..33c186a 100644 --- a/src/regcomp.c +++ b/src/regcomp.c @@ -6309,7 +6309,7 @@ onig_is_code_in_cc(OnigEncoding enc, OnigCodePoint code, CClassNode* cc) #define ARG_STATE_CHECK 6 #define ARG_MODE 7 -OnigOpInfoType OnigOpInfo[] = { +OpInfoType OnigOpInfo[] = { { OP_FINISH, "finish", ARG_NON }, { OP_END, "end", ARG_NON }, { OP_EXACT1, "exact1", ARG_SPECIAL }, diff --git a/src/regint.h b/src/regint.h index 60287c2..a31d95e 100644 --- a/src/regint.h +++ b/src/regint.h @@ -766,9 +766,9 @@ typedef struct { short int opcode; char* name; short int arg_type; -} OnigOpInfoType; +} OpInfoType; -extern OnigOpInfoType OnigOpInfo[]; +extern OpInfoType OnigOpInfo[]; extern void onig_print_compiled_byte_code P_((FILE* f, UChar* bp, UChar** nextp, UChar* start, OnigEncoding enc)); -- 2.50.1