summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/format/c99-scanf-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/format/c99-scanf-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/format/c99-scanf-2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/format/c99-scanf-2.c b/gcc/testsuite/gcc.dg/format/c99-scanf-2.c
index a740a601c0e..eedf3e57c10 100644
--- a/gcc/testsuite/gcc.dg/format/c99-scanf-2.c
+++ b/gcc/testsuite/gcc.dg/format/c99-scanf-2.c
@@ -5,9 +5,7 @@
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic -Wformat" } */
-typedef __WCHAR_TYPE__ wchar_t;
-
-extern int scanf (const char *, ...);
+#include "format.h"
void
foo (int *ip, long long int *llp, wchar_t *ls)
OpenPOWER on IntegriCloud