Remove static declaration from gunzip_bmp()
PATCH 1/1 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 <[email protected]>
--- common/cmd_bmp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
common/cmd_bmp.c +2 -2
@@ -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 ; }
Wolfgang Denk
AppliedPATCH 1/1 Remove static declaration from gunzip_bmp()
Dear Mark Jackson,
Quoted 9 lines · In message <[email protected]> you wrote:
This patch removes the static declaration from
gunzip_bmp()Without it, the
gunzip_bmp()function is not visible tocommon/lcd.cand fails to compile with an error.Signed-off-by Mark Jackson <[email protected]>--- common/cmd_bmp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de We, the unwilling, led by the unknowing, are doing the impossible for the ungrateful. We have done so much, for so long, with so little, we are now qualified to do anything with nothing.