From 8134e415c5902f3e21c3851c526f65907182e92f Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Fri, 17 Jun 2016 10:33:57 -0700 Subject: [PATCH] Add real prototype for re_match_2_internal in regex.c Fixes compilation warning with -Wunprototyped-calls --- regex.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.40.0