From: Mark Wielaard Date: Fri, 18 Nov 2022 19:12:06 +0000 (+0100) Subject: Implicit int in none/tests/faultstatus.c X-Git-Tag: VALGRIND_3_21_0~273 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0811a612dd7ce0c02a5dd699b34e660c742df8fe;p=thirdparty%2Fvalgrind.git Implicit int in none/tests/faultstatus.c There is a definition in faultstatus.c that is not accepted by C99 compilers (implicit ints were removed in that language revision). https://bugs.kde.org/show_bug.cgi?id=462007 --- diff --git a/NEWS b/NEWS index b8bed8ff0c..40603494b5 100644 --- a/NEWS +++ b/NEWS @@ -80,6 +80,7 @@ n-i-bz Implement vgdb invoker on FreeBSD 458915 Remove register cache to fix 458915 gdbserver causes wrong syscall return 459031 Documentation on --error-exitcode incomplete 459477 XERROR messages lacks ending '\n' in vgdb +462007 Implicit int in none/tests/faultstatus.c To see details of a given bug, visit https://bugs.kde.org/show_bug.cgi?id=XXXXXX diff --git a/none/tests/faultstatus.c b/none/tests/faultstatus.c index 458ea82645..92a8350ab2 100644 --- a/none/tests/faultstatus.c +++ b/none/tests/faultstatus.c @@ -190,7 +190,7 @@ int main() return 0; } -static volatile s_zero; +static volatile int s_zero; static int zero() {