[committed] Minor testsuite fallout from c99 changes
Checks
Commit Message
The alpha port recently failed its weekly test due to a lack of a
prototype for the syscall() routine. Fixed thusly and pushed to the trunk.
Jeff
commit acfd33620af3519b84baecedb0eb6618c2f599a6
Author: Jeff Law <jlaw@ventanamicro.com>
Date: Wed Dec 13 17:24:39 2023 -0700
[committed] Minor testsuite fallout from c99 changes
The alpha port failed its weekly test due to a lack of a prototype for the
syscall() routine. Fixed thusly and pushed to the trunk.
gcc/testsuite
* gcc.c-torture/execute/20001229-1.c: Prototype syscall().
@@ -14,6 +14,8 @@ void exit (int);
#include <asm/sysinfo.h>
#include <asm/unistd.h>
+int syscall (int, ...);
+
static inline int
setsysinfo(unsigned long op, void *buffer, unsigned long size,
int *start, void *arg, unsigned long flag)