]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ftw.3: SYNOPSIS: Remove duplicate header
authorAlejandro Colomar <alx.manpages@gmail.com>
Tue, 23 Feb 2021 23:54:40 +0000 (00:54 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 3 Mar 2021 22:06:32 +0000 (23:06 +0100)
Both functions have the same header.
There's no reason to separate the prototypes repeating the header.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/ftw.3

index 027750fd7e6d148bd561a9d3bc66a446c7f8ec91..fa7678fa8d7ce5e9131477cd795e407d008e9259 100644 (file)
@@ -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 ),