mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning
@ 2011-12-25  5:57 Antony Pavlov
  2012-01-02 16:08 ` Antony Pavlov
  0 siblings, 1 reply; 3+ messages in thread
From: Antony Pavlov @ 2011-12-25  5:57 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 include/gunzip.h         |    4 ++--
 lib/decompress_inflate.c |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/gunzip.h b/include/gunzip.h
index 8c0aef1..b901894 100644
--- a/include/gunzip.h
+++ b/include/gunzip.h
@@ -1,5 +1,5 @@
-#ifndef INFLATE_H
-#define INFLATE_H
+#ifndef GUNZIP_H
+#define GUNZIP_H
 
 int gunzip(unsigned char *inbuf, int len,
 	   int(*fill)(void*, unsigned int),
diff --git a/lib/decompress_inflate.c b/lib/decompress_inflate.c
index d246d4d..526d6a1 100644
--- a/lib/decompress_inflate.c
+++ b/lib/decompress_inflate.c
@@ -24,6 +24,8 @@
 
 #endif /* STATIC */
 
+#include <gunzip.h>
+
 #define GZIP_IOBUF_SIZE (16*1024)
 
 static int  nofill(void *buffer, unsigned int len)
-- 
1.7.7.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning
  2011-12-25  5:57 [PATCH] decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning Antony Pavlov
@ 2012-01-02 16:08 ` Antony Pavlov
  2012-01-03  8:31   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Antony Pavlov @ 2012-01-02 16:08 UTC (permalink / raw)
  To: barebox

ping

On 25 December 2011 09:57, Antony Pavlov <antonynpavlov@gmail.com> wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> ---
>  include/gunzip.h         |    4 ++--
>  lib/decompress_inflate.c |    2 ++
>  2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/include/gunzip.h b/include/gunzip.h
> index 8c0aef1..b901894 100644
> --- a/include/gunzip.h
> +++ b/include/gunzip.h
> @@ -1,5 +1,5 @@
> -#ifndef INFLATE_H
> -#define INFLATE_H
> +#ifndef GUNZIP_H
> +#define GUNZIP_H
>
>  int gunzip(unsigned char *inbuf, int len,
>           int(*fill)(void*, unsigned int),
> diff --git a/lib/decompress_inflate.c b/lib/decompress_inflate.c
> index d246d4d..526d6a1 100644
> --- a/lib/decompress_inflate.c
> +++ b/lib/decompress_inflate.c
> @@ -24,6 +24,8 @@
>
>  #endif /* STATIC */
>
> +#include <gunzip.h>
> +
>  #define GZIP_IOBUF_SIZE (16*1024)
>
>  static int  nofill(void *buffer, unsigned int len)
> --
> 1.7.7.3
>



-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning
  2012-01-02 16:08 ` Antony Pavlov
@ 2012-01-03  8:31   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-01-03  8:31 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Mon, Jan 02, 2012 at 07:08:49PM +0300, Antony Pavlov wrote:
> ping

Already applied to master, not to next though. Will be fixed there soon.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2012-01-03  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-25  5:57 [PATCH] decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning Antony Pavlov
2012-01-02 16:08 ` Antony Pavlov
2012-01-03  8:31   ` Sascha Hauer

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