* gcc.target/powerpc/pr51623.c: Fix implicit declarations.

From-SVN: r217264
This commit is contained in:
Andreas Schwab 2014-11-09 12:46:27 +00:00 committed by Andreas Schwab
parent 1e51d0a29d
commit 205e926891
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-11-09 Andreas Schwab <schwab@linux-m68k.org>
* gcc.target/powerpc/pr51623.c: Fix implicit declarations.
2014-11-09 Richard Biener <rguenther@suse.de>
* g++.dg/cpp0x/constexpr-reinterpret1.C: XFAIL.

View File

@ -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;