]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[committed] Minor testsuite fallout from c99 changes
authorJeff Law <jlaw@ventanamicro.com>
Thu, 14 Dec 2023 00:24:39 +0000 (17:24 -0700)
committerJeff Law <jlaw@ventanamicro.com>
Thu, 14 Dec 2023 00:24:39 +0000 (17:24 -0700)
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().

gcc/testsuite/gcc.c-torture/execute/20001229-1.c

index 3bf333dd5a8e2767c6ab9cb15f34f48cca61af62..a235fdad1385190acde2307776743d7097e216c5 100644 (file)
@@ -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)