summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMark Jackson <mpfj-list@mimc.co.uk>2009-07-21 11:30:53 +0100
committerWolfgang Denk <wd@denx.de>2009-07-23 21:34:01 +0200
commitc01171eaecc963d2c1f56a0984a0cbcdd8a3ab3c (patch)
treeb3c0bba770089e4da00792e51db3b77cb930e3ff /common
parent2d4a43e230a3c8bfd03b9beaa0eb2a95e779c03b (diff)
downloadu-boot-imx-c01171eaecc963d2c1f56a0984a0cbcdd8a3ab3c.zip
u-boot-imx-c01171eaecc963d2c1f56a0984a0cbcdd8a3ab3c.tar.gz
u-boot-imx-c01171eaecc963d2c1f56a0984a0cbcdd8a3ab3c.tar.bz2
Remove static declaration from gunzip_bmp()
This patch removes the static declaration from gunzip_bmp() Without it, the gunzip_bmp() function is not visible to common/lcd.c and fails to compile with an error. Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c
index fc8462e..27d5896 100644
--- a/common/cmd_bmp.c
+++ b/common/cmd_bmp.c
@@ -46,7 +46,7 @@ int gunzip(void *, int, unsigned char *, unsigned long *);
* didn't contain a valid BMP signature.
*/
#ifdef CONFIG_VIDEO_BMP_GZIP
-static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
+bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
{
void *dst;
unsigned long len;
@@ -85,7 +85,7 @@ static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
return bmp;
}
#else
-static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
+bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
{
return NULL;
}