Re: [PATCH] decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ping

On 25 December 2011 09:57, Antony Pavlov <antonynpavlov@xxxxxxxxx> wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux