[gib] Hide regex's re_max_failures

ld pops up a warning about it being obsolete (I guess something is being
picked up from libc), but since we have our own regex, there's no way it
can go away without our "permission".
This commit is contained in:
Bill Currie 2023-11-16 19:09:59 +09:00
parent 114f564a98
commit d7258f09bd

View file

@ -2247,7 +2247,7 @@ compile_range (const char **p_ptr, const char *pend, char *translate, reg_syntax
exactly that if always used MAX_FAILURE_SPACE each time we failed.
This is a variable only so users of regex can assign to it; we never
change it ourselves. */
int re_max_failures = 2000;
static int re_max_failures = 2000;
typedef const unsigned char *fail_stack_elt_t;