Commit 31011111 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

* src/regex.c (re_comp): Protoize.

(re_exec): Fix return type.
(regexec): Fix type of `ret'.
parent 294e60d3
2011-07-30 Andreas Schwab <schwab@linux-m68k.org>
* regex.c (re_comp): Protoize.
(re_exec): Fix return type.
(regexec): Fix type of `ret'. (Bug#9203)
2011-07-29 Paul Eggert <eggert@cs.ucla.edu>
* image.c (check_image_size): Use 1024x1024 if unknown frame (Bug#9189).
......
......@@ -6381,8 +6381,7 @@ char *
regcomp/regexec below without link errors. */
weak_function
# endif
re_comp (s)
const char *s;
re_comp (const char *s)
{
reg_errcode_t ret;
......@@ -6421,7 +6420,7 @@ re_comp (s)
}
regoff_t
int
# ifdef _LIBC
weak_function
# endif
......@@ -6558,7 +6557,7 @@ reg_errcode_t
regexec (const regex_t *__restrict preg, const char *__restrict string,
size_t nmatch, regmatch_t pmatch[__restrict_arr], int eflags)
{
reg_errcode_t ret;
regoff_t ret;
struct re_registers regs;
regex_t private_preg;
size_t len = strlen (string);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment