aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2023-12-13 17:24:39 -0700
committerJeff Law <jlaw@ventanamicro.com>2023-12-13 17:24:39 -0700
commitacfd33620af3519b84baecedb0eb6618c2f599a6 (patch)
tree812d4278d5781e2890f86cb1479a30a26cf4246a
parente8018ccff9aa9686d00a4bfe42448d517c699964 (diff)
downloadgcc-acfd33620af3519b84baecedb0eb6618c2f599a6.zip
gcc-acfd33620af3519b84baecedb0eb6618c2f599a6.tar.gz
gcc-acfd33620af3519b84baecedb0eb6618c2f599a6.tar.bz2
[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().
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20001229-1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20001229-1.c b/gcc/testsuite/gcc.c-torture/execute/20001229-1.c
index 3bf333d..a235fda 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20001229-1.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20001229-1.c
@@ -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)