From: Andreas Schwab Date: Sun, 9 Nov 2014 12:46:27 +0000 (+0000) Subject: * gcc.target/powerpc/pr51623.c: Fix implicit declarations. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=205e92689198d4718a07adfb0077821cfa93e761;p=gcc.git * gcc.target/powerpc/pr51623.c: Fix implicit declarations. From-SVN: r217264 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f4eb87671ce..0e469f0c2c0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-11-09 Andreas Schwab + + * gcc.target/powerpc/pr51623.c: Fix implicit declarations. + 2014-11-09 Richard Biener * g++.dg/cpp0x/constexpr-reinterpret1.C: XFAIL. diff --git a/gcc/testsuite/gcc.target/powerpc/pr51623.c b/gcc/testsuite/gcc.target/powerpc/pr51623.c index 2ac118c7fac..0e1346347cb 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr51623.c +++ b/gcc/testsuite/gcc.target/powerpc/pr51623.c @@ -16,6 +16,7 @@ struct mtd_info { }; extern int strcmp(const char *,const char *); +extern int strncmp(const char *,const char *,size_t); extern char * strchr(const char *,int); struct cmd_tbl_s { @@ -24,13 +25,17 @@ struct cmd_tbl_s { int printf(const char *fmt, ...) __attribute__ ((format (__printf__, 1, 2))); +int putc (int); void* malloc(size_t); void free(void*); +extern unsigned long simple_strtoul(const char *,char **,unsigned int); extern int nand_curr_device; extern struct mtd_info nand_info[]; +extern void cmd_usage(struct cmd_tbl_s *); + static int nand_dump(struct mtd_info *nand, unsigned long off, int only_oob) { int i;