mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
20 lines
611 B
Diff
20 lines
611 B
Diff
Fix build with gcc 15.x
|
||
|
||
Upstream: https://savannah.gnu.org/bugs/?66845
|
||
|
||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||
|
||
diff --git a/compat/regex.c b/compat/regex.c
|
||
index c6907f3..87f2840 100644
|
||
--- a/compat/regex.c
|
||
+++ b/compat/regex.c
|
||
@@ -336,7 +336,7 @@ 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*, const char*, int, const char*, int, int, struct re_registers*, int);
|
||
|
||
/* These are the command codes that appear in compiled regular
|
||
expressions. Some opcodes are followed by argument bytes. A
|