diff options
Diffstat (limited to 'gl/lib')
-rw-r--r-- | gl/lib/regcomp.c.diff | 22 | ||||
-rw-r--r-- | gl/lib/regex_internal.c.diff | 4 | ||||
-rw-r--r-- | gl/lib/regex_internal.h.diff | 8 |
3 files changed, 17 insertions, 17 deletions
diff --git a/gl/lib/regcomp.c.diff b/gl/lib/regcomp.c.diff index cc6649f2e..6ee51dad2 100644 --- a/gl/lib/regcomp.c.diff +++ b/gl/lib/regcomp.c.diff @@ -1,8 +1,8 @@ diff --git a/lib/regcomp.c b/lib/regcomp.c -index 840220f..192632c 100644 +index 4cbb1b2..ac81318 100644 --- a/lib/regcomp.c +++ b/lib/regcomp.c -@@ -540,7 +540,7 @@ regerror (errcode, preg, errbuf, errbuf_size) +@@ -544,7 +544,7 @@ regerror (errcode, preg, errbuf, errbuf_size) size_t errbuf_size; #else /* size_t might promote */ size_t @@ -11,8 +11,8 @@ index 840220f..192632c 100644 char *_Restrict_ errbuf, size_t errbuf_size) #endif { -@@ -1427,7 +1427,7 @@ calc_first (void *extra, bin_tree_t *node) - +@@ -1431,7 +1431,7 @@ calc_first (void *extra, bin_tree_t *node) + /* Pass 2: compute NEXT on the tree. Preorder visit. */ static reg_errcode_t -calc_next (void *extra, bin_tree_t *node) @@ -20,7 +20,7 @@ index 840220f..192632c 100644 { switch (node->token.type) { -@@ -2820,8 +2820,10 @@ build_range_exp (const reg_syntax_t syntax, +@@ -2828,8 +2828,10 @@ build_range_exp (const reg_syntax_t syntax, static reg_errcode_t internal_function # ifdef RE_ENABLE_I18N @@ -33,8 +33,8 @@ index 840220f..192632c 100644 # else /* not RE_ENABLE_I18N */ build_collating_symbol (bitset_t sbcset, const unsigned char *name) # endif /* not RE_ENABLE_I18N */ -@@ -3389,7 +3391,8 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token, - +@@ -3399,7 +3401,8 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token, + static reg_errcode_t parse_bracket_element (bracket_elem_t *elem, re_string_t *regexp, - re_token_t *token, int token_len, re_dfa_t *dfa, @@ -43,8 +43,8 @@ index 840220f..192632c 100644 reg_syntax_t syntax, bool accept_hyphen) { #ifdef RE_ENABLE_I18N -@@ -3476,8 +3479,10 @@ parse_bracket_symbol (bracket_elem_t *elem, re_string_t *regexp, - +@@ -3486,8 +3489,10 @@ parse_bracket_symbol (bracket_elem_t *elem, re_string_t *regexp, + static reg_errcode_t #ifdef RE_ENABLE_I18N -build_equiv_class (bitset_t sbcset, re_charset_t *mbcset, @@ -56,9 +56,9 @@ index 840220f..192632c 100644 #else /* not RE_ENABLE_I18N */ build_equiv_class (bitset_t sbcset, const unsigned char *name) #endif /* not RE_ENABLE_I18N */ -@@ -3883,7 +3888,7 @@ free_token (re_token_t *node) +@@ -3891,7 +3896,7 @@ free_token (re_token_t *node) and its children. */ - + static reg_errcode_t -free_tree (void *extra, bin_tree_t *node) +free_tree (void *extra _UNUSED_PARAMETER_, bin_tree_t *node) diff --git a/gl/lib/regex_internal.c.diff b/gl/lib/regex_internal.c.diff index 355cadb42..2a72e0de7 100644 --- a/gl/lib/regex_internal.c.diff +++ b/gl/lib/regex_internal.c.diff @@ -1,11 +1,11 @@ diff --git a/lib/regex_internal.c b/lib/regex_internal.c -index 36ae6ab..c11ff09 100644 +index 93d7ee9..9b86a07 100644 --- a/lib/regex_internal.c +++ b/lib/regex_internal.c @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ - + +#include "verify.h" +#include "intprops.h" static void re_string_construct_common (const char *str, Idx len, diff --git a/gl/lib/regex_internal.h.diff b/gl/lib/regex_internal.h.diff index a4d78af21..66ea41714 100644 --- a/gl/lib/regex_internal.h.diff +++ b/gl/lib/regex_internal.h.diff @@ -1,14 +1,14 @@ diff --git a/lib/regex_internal.h b/lib/regex_internal.h -index ff486bb..ff85ac8 100644 +index 0307a34..45c2d44 100644 --- a/lib/regex_internal.h +++ b/lib/regex_internal.h -@@ -863,7 +863,8 @@ re_string_wchar_at (const re_string_t *pstr, Idx idx) - # ifndef NOT_IN_libc +@@ -868,7 +868,8 @@ re_string_wchar_at (const re_string_t *pstr, Idx idx) + static int internal_function __attribute__ ((pure, unused)) -re_string_elem_size_at (const re_string_t *pstr, Idx idx) +re_string_elem_size_at (const re_string_t *pstr _UNUSED_PARAMETER_, + Idx idx _UNUSED_PARAMETER_) { - # ifdef _LIBC + # ifdef _LIBC const unsigned char *p, *extra; |