# HG changeset patch # User Olaf Hering <[email protected]> # Date 1328299312 -3600 # Branch HEAD # Node ID 8743a4a6bd37bd5c1b873c7758046fdbc47f4021 # Parent c26dbc7021f4ec56c0e41d43019e43dd0be666de add real prototype for re_match_2_internal in regex.c
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]> diff -r c26dbc7021f4 -r 8743a4a6bd37 regex.c --- 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
