public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Fix compilation problem in common/cmd_bmp.c
@ 2008-01-11  1:15 Anatolij Gustschin
  2008-01-11  9:21 ` Haavard Skinnemoen
  2008-01-11 23:36 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Anatolij Gustschin @ 2008-01-11  1:15 UTC (permalink / raw)
  To: u-boot


common/cmd_bmp.c fails to compile if CONFIG_VIDEO_BMP_GZIP
isn't defined. This patch fix this.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 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 2437e22..197e5e8 100644
--- a/common/cmd_bmp.c
+++ b/common/cmd_bmp.c
@@ -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)
+static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
 {
 	return NULL;
 }
-- 
1.5.3.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-11 23:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-11  1:15 [U-Boot-Users] [PATCH] Fix compilation problem in common/cmd_bmp.c Anatolij Gustschin
2008-01-11  9:21 ` Haavard Skinnemoen
2008-01-11 23:36 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox