From: Olaf Hering Date: Fri, 17 Jun 2016 17:33:57 +0000 (-0700) Subject: Add real prototype for re_match_2_internal in regex.c X-Git-Tag: neomutt-20160822~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea7859f51ef87e4e12e6f9bc4d6a722cd6c3474e;p=neomutt Add real prototype for re_match_2_internal in regex.c Fixes compilation warning with -Wunprototyped-calls --- diff --git a/regex.c b/regex.c index f46c80696..40979af74 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