]> git.sur5r.net Git - u-boot/commit
video: move extern declarations from C to headers
authorAlessandro Rubini <rubini@gnudd.com>
Sun, 19 Jul 2009 15:52:27 +0000 (17:52 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sat, 25 Jul 2009 21:13:51 +0000 (23:13 +0200)
commit6111722a9281c6e04a7304d502556afff6a5a1f8
tree0d9b038682826849384028c445e6da69a254c25a
parentf33b325af666b12eafa9ab235b2cd59832d6e51c
video: move extern declarations from C to headers

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@gnudd.it>
[agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea did it]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/cmd_bmp.c
common/lcd.c
include/lcd.h