Re: [PATCH] ftw.3: SYNOPSIS: Remove duplicate header

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

 



Hi Alex,

On 2/24/21 12:54 AM, Alejandro Colomar wrote:
> Both functions have the same header.
> There's no reason to separate the prototypes repeating the header.
Agreed. Patch applied.

Cheers,

Michael


> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
> ---
>  man3/ftw.3 | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/man3/ftw.3 b/man3/ftw.3
> index 027750fd7..fa7678fa8 100644
> --- a/man3/ftw.3
> +++ b/man3/ftw.3
> @@ -45,8 +45,6 @@ ftw, nftw \- file tree walk
>  .BI "                  int " typeflag ", struct FTW *" ftwbuf ),
>  .BI "        int " nopenfd ", int " flags );
>  .PP
> -.B #include <ftw.h>
> -.PP
>  .BI "int ftw(const char *" dirpath ,
>  .BI "        int (*" fn ")(const char *" fpath ", const struct stat *" sb ,
>  .BI "                  int " typeflag ),
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux