open_by_handle_at.2: Remove unused <sys/stat.h>
PATCH 1/1 open_by_handle_at.2: Remove unused <sys/stat.h>
AFAICS, all types and constants used by these functions are defined in <fcntl.h>.
Signed-off-by Alejandro Colomar <[email protected]>
--- man2/open_by_handle_at.2 | 1 - 1 file changed, 1 deletion(-)
man2/open_by_handle_at.2 +0 -1
@@ -29,7 +29,6 @@ for a pathname and open file via a handle .SH SYNOPSIS .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" -.B #include <sys/stat.h> .B #include <fcntl.h> .PP .BI "int name_to_handle_at(int " dirfd ", const char *" pathname ,
Signature · 1 line
2.31.0
Hi Alex,
Quoted 2 lines · Alejandro Colomar
AFAICS, all types and constants used by these functions are defined in <
fcntl.h>.
Thanks.
Patch applied.
Cheers,
Michael
Quoted 18 lines
Signed-off-by Alejandro Colomar <[email protected]>--- man2/open_by_handle_at.2 | 1 - 1 file changed, 1 deletion(-)man2/open_by_handle_at.2 +0
-1@@ -29,7 +29,6 @@ for a pathname and open file via a handle .SH SYNOPSIS .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" -.B #include <sys/stat.h> .B #include <fcntl.h> .PP .BI "int name_to_handle_at(int " dirfd ", const char *" pathname ,
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/