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

* [U-Boot-Users] [PATCH] Fix compilation problem in common/cmd_bmp.c
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Haavard Skinnemoen @ 2008-01-11  9:21 UTC (permalink / raw)
  To: u-boot

On Fri, 11 Jan 2008 02:15:02 +0100
Anatolij Gustschin <agust@denx.de> wrote:

> @@ -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)

Ah, that's obviously correct. I guess I forgot to compile test
with !CONFIG_VIDEO_BMP...sorry.

Haavard

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

* [U-Boot-Users] [PATCH] Fix compilation problem in common/cmd_bmp.c
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2008-01-11 23:36 UTC (permalink / raw)
  To: u-boot

In message <4786C316.9000702@denx.de> you wrote:
> 
> 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>

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
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
Well, the way I see it, logic is only a way of being ignorant by num-
bers.                                 - Terry Pratchett, _Small Gods_

^ permalink raw reply	[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