From: Richard Henderson Date: Sat, 14 Aug 2004 07:57:37 +0000 (-0700) Subject: * gcc.dg/980217-1.c: Add prototype for printf. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e99d6fe28280f3ad9af9f5bc2a030415f6116745;p=gcc.git * gcc.dg/980217-1.c: Add prototype for printf. From-SVN: r85991 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c3cafd2afa3..0869162e5bf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-14 Richard Henderson + + * gcc.dg/980217-1.c: Add prototype for printf. + 2004-08-13 Bud Davis * gfortran.fortran-torture/execute/open_rewind.f90: New test. diff --git a/gcc/testsuite/gcc.dg/980217-1.c b/gcc/testsuite/gcc.dg/980217-1.c index 6d56d833c82..ad261eb7d56 100644 --- a/gcc/testsuite/gcc.dg/980217-1.c +++ b/gcc/testsuite/gcc.dg/980217-1.c @@ -4,6 +4,7 @@ /* { dg-options "-mieee -O2" } */ extern void abort(void); +extern int printf(const char *, ...); typedef int int32_t __attribute__ ((__mode__ ( __SI__ ))) ; typedef union