mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
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>
This commit is contained in:
parent
2d4a43e230
commit
c01171eaec
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue