Re: [PATCH] remove unneeded declarations in "compat.h"

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

 




On 19/12/2018 07:33, Luc Van Oostenryck wrote:
> struct stream & struct stat are defined in this file
> but were only used for identical_files() which has been
> removed years ago.
> 
> So, remove these declarations.

LGTM. BTW I have been testing the 'master' branch (currently up to
version: v0.6.0-rc1-22-g2369d10), without finding any errors or
regressions. I have now upgraded to Linux Mint 19.1 (64-bit) and
fedora 29 (with newer compiler, gcc v2.8.1).

Have a good holiday.

ATB,
Ramsay Jones


> 
> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
> ---
>  compat.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/compat.h b/compat.h
> index 9814ae3e8..4bba47ad2 100644
> --- a/compat.h
> +++ b/compat.h
> @@ -10,8 +10,6 @@
>   *  - "string to long double" (C99 strtold())
>   *	Missing in Solaris and MinGW
>   */
> -struct stream;
> -struct stat;
>  
>  /*
>   * Our "blob" allocator works on chunks that are multiples
> 



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux