Fix compilation problem in common/cmd_bmp.c
authorAnatolij Gustschin <agust@denx.de>
Fri, 11 Jan 2008 01:15:02 +0000 (02:15 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 11 Jan 2008 23:35:48 +0000 (00:35 +0100)
common/cmd_bmp.c fails to compile if CONFIG_VIDEO_BMP_GZIP
isn't defined. This patch fix this.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/cmd_bmp.c

index 2437e2278017664bc05da3c3b1f3c6ffb5e2da1b..197e5e871d2621a070575c3932aa3a88632c86fb 100644 (file)
@@ -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)
+static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
 {
        return NULL;
 }