From 00d0d2ad4e875a70e212ec12d17ad5f872f6033d Mon Sep 17 00:00:00 2001 From: Daniel Schwierzeck Date: Sun, 3 Jun 2012 12:40:04 +0000 Subject: malloc: remove extern declarations of malloc_bin_reloc() in board.c files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Declare malloc_bin_reloc() in malloc.h and remove all extern declarations in various board.c files to get rid of one checkpatch.pl warning. Signed-off-by: Daniel Schwierzeck Cc: Wolfgang Denk Cc: Andreas Bießmann Cc: Jason Jin Cc: Macpaul Lin Cc: Daniel Hellstrom Acked-by: Andreas Bießmann --- arch/nds32/lib/board.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/nds32/lib') diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c index 2164a505f6..17d3ee071f 100644 --- a/arch/nds32/lib/board.c +++ b/arch/nds32/lib/board.c @@ -306,8 +306,6 @@ void board_init_r(gd_t *id, ulong dest_addr) bd_t *bd; ulong malloc_start; - extern void malloc_bin_reloc(void); - gd = id; bd = gd->bd; -- cgit v1.2.1