Skip to content
Snippets Groups Projects
Commit c01171ea authored by Mark Jackson's avatar Mark Jackson Committed by Wolfgang Denk
Browse files

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: default avatarMark Jackson <mpfj@mimc.co.uk>
parent 2d4a43e2
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ int gunzip(void *, int, unsigned char *, unsigned long *); ...@@ -46,7 +46,7 @@ int gunzip(void *, int, unsigned char *, unsigned long *);
* didn't contain a valid BMP signature. * didn't contain a valid BMP signature.
*/ */
#ifdef CONFIG_VIDEO_BMP_GZIP #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; void *dst;
unsigned long len; unsigned long len;
...@@ -85,7 +85,7 @@ static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp) ...@@ -85,7 +85,7 @@ static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
return bmp; return bmp;
} }
#else #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; return NULL;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment