forked from pool/systemtap
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
|
Author: Frank Ch. Eigler <fche@redhat.com>
|
||
|
Date: Thu Jan 25 16:46:33 2024 -0500
|
||
|
Subject: PR31288: build with gcc14 cont'd
|
||
|
Git-commit: 11353cf4e90b2344db5609a543c5ccd894550831
|
||
|
References: bsc#1221706
|
||
|
Signed-off-by: Tony Jones <tonyj@suse.de>
|
||
|
|
||
|
diff --git a/runtime/softfloat.c b/runtime/softfloat.c
|
||
|
index 709e45d2f..869efdf46 100644
|
||
|
--- a/runtime/softfloat.c
|
||
|
+++ b/runtime/softfloat.c
|
||
|
@@ -614,6 +614,7 @@ uint_fast64_t
|
||
|
|Converting a fp to a str
|
||
|
*------------------------------------------------------------------------*/
|
||
|
|
||
|
+char* itoa(uint64_t val);
|
||
|
char* itoa(uint64_t val)
|
||
|
{
|
||
|
int base = 10;
|
||
|
diff --git a/stapregex.cxx b/stapregex.cxx
|
||
|
index e25992bb2..d0371beee 100644
|
||
|
--- a/stapregex.cxx
|
||
|
+++ b/stapregex.cxx
|
||
|
@@ -103,6 +103,7 @@ void
|
||
|
stapdfa::emit_declaration (translator_output *o) const
|
||
|
{
|
||
|
o->newline() << "// DFA for \"" << orig_input << "\"";
|
||
|
+ o->newline() << "int " << func_name << " (struct context * __restrict__ c, const char *str);";
|
||
|
o->newline() << "int " << func_name << " (struct context * __restrict__ c, const char *str) {";
|
||
|
o->indent(1);
|
||
|
|