[U-Boot] [PATCH] video: move extern declarations from C to headers
Anatolij Gustschin
agust at denx.de
Sun Jul 26 13:33:40 CEST 2009
Alessandro Rubini wrote:
> From: Alessandro Rubini <rubini at gnudd.com>
>
> This moves some extern declaration from lcd.c to lcd.h, removing
> unneeded ifdef around a pair of them. Additionally, since
> gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I
> removed the static. The extra "#include <lcd.h>" in cmd_bmp.c is
> added to ensure the header is consistent with the source.
>
> This has been compile-tested on both ARM (at91 boards) and PowerPC
> (HH405_config, TQM823L_LCD_config, mcc200_config), to test all use
> combinations.
>
> Signed-off-by: Alessandro Rubini <rubini at gnudd.it>
> ---
> common/cmd_bmp.c | 5 +++--
> common/lcd.c | 16 ----------------
> include/lcd.h | 12 ++++++++++++
> 3 files changed, 15 insertions(+), 18 deletions(-)
Applied to u-boot-video. Thanks!
Best regards,
Anatolij
More information about the U-Boot
mailing list