regex.c: In function 're_search_2': regex.c:3584:6: warning: call to function 're_match_2_internal' without a real prototype [-Wunprototyped-calls] regex.c:384:12: note: 're_match_2_internal' was declared here regex.c: In function 're_match': regex.c:3706:9: warning: call to function 're_match_2_internal' without a real prototype [-Wunprototyped-calls] regex.c:384:12: note: 're_match_2_internal' was declared here regex.c: In function 're_match_2': regex.c:3751:9: warning: call to function 're_match_2_internal' without a real prototype [-Wunprototyped-calls] regex.c:384:12: note: 're_match_2_internal' was declared here
Signed-off-by: Olaf Hering <[email protected]> --- regex.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/regex.c b/regex.c index f46c806..40979af 100644 --- a/regex.c +++ b/regex.c @@ -381,7 +381,9 @@ typedef char boolean; #define false 0 #define true 1 -static int re_match_2_internal (); +static int re_match_2_internal (struct re_pattern_buffer *bufp, + const char *string1, int size1, const char *string2, int size2, int pos, + struct re_registers *regs, int stop); /* These are the command codes that appear in compiled regular expressions. Some opcodes are followed by argument bytes. A
