From e99d6fe28280f3ad9af9f5bc2a030415f6116745 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 14 Aug 2004 00:57:37 -0700 Subject: * gcc.dg/980217-1.c: Add prototype for printf. From-SVN: r85991 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/980217-1.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c3cafd2..0869162 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 6d56d83..ad261eb 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 -- cgit v1.1