]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
add_key.2: Remove unused include
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 4 Apr 2021 11:58:19 +0000 (13:58 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 5 Apr 2021 10:45:48 +0000 (12:45 +0200)
<sys/types.h> was only needed for size_t, AFAIK.  That is already
(and more precisely) documented in system_data_types(7).  Let's
remove it here, as it's not really needed for calling add_key().

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/add_key.2

index f3d803adf060737ede3fec6ab74dba51675bd39c..dca44b8e78ae0cd72baf89a97649285e11b57084 100644 (file)
@@ -14,7 +14,6 @@
 add_key \- add a key to the kernel's key management facility
 .SH SYNOPSIS
 .nf
-.B #include <sys/types.h>
 .B #include <keyutils.h>
 .PP
 .BI "key_serial_t add_key(const char *" type ", const char *" description ,