diff options
-rw-r--r-- | src/oniguruma.h | 6 | ||||
-rw-r--r-- | src/regexec.c | 4 | ||||
-rw-r--r-- | test/test_regset.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/oniguruma.h b/src/oniguruma.h index 4ff5f9d..5f219d3 100644 --- a/src/oniguruma.h +++ b/src/oniguruma.h @@ -693,7 +693,7 @@ typedef struct OnigRegSetStruct OnigRegSet; typedef enum { ONIG_REGSET_POSITION_LEAD = 0, ONIG_REGSET_REGEX_LEAD = 1 -} OnigRegsetLead; +} OnigRegSetLead; typedef struct { int num_of_elements; @@ -814,9 +814,9 @@ void onig_regset_free P_((OnigRegSet* set)); ONIG_EXTERN OnigRegion* onig_regset_get_region P_((OnigRegSet* set, int at)); ONIG_EXTERN -int onig_regset_search P_((OnigRegSet* set, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegsetLead lead, OnigOptionType option, int* rmatch_pos)); +int onig_regset_search P_((OnigRegSet* set, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegSetLead lead, OnigOptionType option, int* rmatch_pos)); ONIG_EXTERN -int onig_regset_search_with_param P_((OnigRegSet* set, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegsetLead lead, OnigOptionType option, OnigMatchParam* mps[], int* rmatch_pos)); +int onig_regset_search_with_param P_((OnigRegSet* set, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegSetLead lead, OnigOptionType option, OnigMatchParam* mps[], int* rmatch_pos)); ONIG_EXTERN OnigRegion* onig_region_new P_((void)); diff --git a/src/regexec.c b/src/regexec.c index 6ad5d71..0d4d4a9 100644 --- a/src/regexec.c +++ b/src/regexec.c @@ -4354,7 +4354,7 @@ extern int onig_regset_search_with_param(OnigRegSet* set, const UChar* str, const UChar* end, const UChar* start, const UChar* range, - OnigRegsetLead lead, OnigOptionType option, OnigMatchParam* mps[], + OnigRegSetLead lead, OnigOptionType option, OnigMatchParam* mps[], int* rmatch_pos) { int r; @@ -4532,7 +4532,7 @@ onig_regset_search_with_param(OnigRegSet* set, extern int onig_regset_search(OnigRegSet* set, const UChar* str, const UChar* end, const UChar* start, const UChar* range, - OnigRegsetLead lead, OnigOptionType option, int* rmatch_pos) + OnigRegSetLead lead, OnigOptionType option, int* rmatch_pos) { int r; int i; diff --git a/test/test_regset.c b/test/test_regset.c index 97a33a0..4cdd91a 100644 --- a/test/test_regset.c +++ b/test/test_regset.c @@ -178,7 +178,7 @@ time_compare(int n, char* ps[], char* s, char* end) } -static OnigRegsetLead XX_LEAD = ONIG_REGSET_POSITION_LEAD; +static OnigRegSetLead XX_LEAD = ONIG_REGSET_POSITION_LEAD; static void xx(int line_no, int n, char* ps[], char* s, int from, int to, int mem, int not, int error_no) |