* gcc.dg/struct-ret-1.c: Add prototype for exit function and correct
usage.
From-SVN: r57012
+2002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * gcc.dg/struct-ret-1.c: Add prototype for exit function and correct
+ usage.
+
2002-09-10 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/compile/20020910-1.c: New test.
/* { dg-do run { target hppa*-*-* } } */
/* { dg-options { -O2 } { target hppa*-*-* } } */
+extern void exit (int);
typedef struct {
int x;
int y;
if (printPoints(toPoint(0, 0), toPoint(1000, 1000)) != 1)
abort();
else
- exit();
+ exit(0);
return 0;
}