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: mutt-1-7-rel~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8134e415c5902f3e21c3851c526f65907182e92f;p=mutt 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 f46c8069..40979af7 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