mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
malloc: remove extern declarations of malloc_bin_reloc() in board.c files
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 <daniel.schwierzeck@googlemail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Andreas Bießmann <andreas.devel@gmail.com> Cc: Jason Jin <Jason.jin@freescale.com> Cc: Macpaul Lin <macpaul@andestech.com> Cc: Daniel Hellstrom <daniel@gaisler.com> Acked-by: Andreas Bießmann <andreas.devel@gmail.com>
This commit is contained in:
parent
b3873d3f4c
commit
00d0d2ad4e
6 changed files with 1 additions and 6 deletions
|
@ -937,6 +937,7 @@ extern ulong mem_malloc_end;
|
|||
extern ulong mem_malloc_brk;
|
||||
|
||||
void mem_malloc_init(ulong start, ulong size);
|
||||
void malloc_bin_reloc(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}; /* end of extern "C" */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue