X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fcmd_bmp.c;h=74ab24ca9467b280d7ce6a1b20a52a1cba221f30;hb=01802e0d22a4bb3903b342ff2357ea3bbcccd289;hp=abbb0704fbe7e39eb53e7a9cb5c0aa51613a1852;hpb=ea393eb1d6a786fc2e895f90abb5f7e7541aef45;p=oweals%2Fu-boot.git diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c index abbb0704fb..74ab24ca94 100644 --- a/common/cmd_bmp.c +++ b/common/cmd_bmp.c @@ -26,6 +26,7 @@ */ #include +#include #include #include #include @@ -34,8 +35,6 @@ static int bmp_info (ulong addr); static int bmp_display (ulong addr, int x, int y); -int gunzip(void *, int, unsigned char *, unsigned long *); - /* * Allocate and decompress a BMP image using gunzip(). * @@ -46,7 +45,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 +84,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; } @@ -141,7 +140,7 @@ U_BOOT_CMD( bmp, 5, 1, do_bmp, "manipulate BMP image data", "info - display image info\n" - "bmp display [x y] - display image at x,y\n" + "bmp display [x y] - display image at x,y" ); /*