diff options
Diffstat (limited to 'src/include/regex')
-rw-r--r-- | src/include/regex/regex.h | 4 | ||||
-rw-r--r-- | src/include/regex/regex2.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/regex/regex.h b/src/include/regex/regex.h index 94b3ea4a2d8..cd9efbceb75 100644 --- a/src/include/regex/regex.h +++ b/src/include/regex/regex.h @@ -51,13 +51,13 @@ typedef struct size_t re_nsub; /* number of parenthesized subexpressions */ const char *re_endp; /* end pointer for REG_PEND */ struct re_guts *re_g; /* none of your business :-) */ -} regex_t; +} regex_t; typedef struct { regoff_t rm_so; /* start of match */ regoff_t rm_eo; /* end of match */ -} regmatch_t; +} regmatch_t; /* regcomp() flags */ #define REG_BASIC 0000 diff --git a/src/include/regex/regex2.h b/src/include/regex/regex2.h index 70b03b0250a..564c626c5bb 100644 --- a/src/include/regex/regex2.h +++ b/src/include/regex/regex2.h @@ -130,7 +130,7 @@ typedef struct uch hash; /* hash code */ size_t smultis; char *multis; /* -> char[smulti] ab\0cd\0ef\0\0 */ -} cset; +} cset; /* note that CHadd and CHsub are unsafe, and CHIN doesn't yield 0/1 */ #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) |