From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Jackson Date: Tue, 27 Jan 2009 10:21:24 +0000 Subject: [U-Boot] [PATCH] Remove static type from gunzip_bmp() Message-ID: <497EE024.9040800@mimc.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de THe current bmp routines support gzipped files, but compilation fails due to the gunzip_bmp() function being defined as static. This patch fixes this problem. Signed-off-by: Mark Jackson --- common/cmd_bmp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c index bc08b26..2104e59 100644 --- a/common/cmd_bmp.c +++ b/common/cmd_bmp.c @@ -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;