]> granicus.if.org Git - neomutt/commitdiff
Add real prototype for re_match_2_internal in regex.c
authorOlaf Hering <olaf@aepfle.de>
Fri, 17 Jun 2016 17:33:57 +0000 (10:33 -0700)
committerOlaf Hering <olaf@aepfle.de>
Fri, 17 Jun 2016 17:33:57 +0000 (10:33 -0700)
Fixes compilation warning with -Wunprototyped-calls

regex.c

diff --git a/regex.c b/regex.c
index f46c8069690cd58915c6d4c0e028cb08cdefeb43..40979af7412756e6dbf86d0613aae0e12d3071df 100644 (file)
--- 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);
 \f
 /* These are the command codes that appear in compiled regular
    expressions.  Some opcodes are followed by argument bytes.  A