mirror of https://github.com/mkerrisk/man-pages
swapon.2: SYNOPSIS: Fix includes
There seems to be no reason to include <unistd.h>. <sys/swap.h> already provides both the function prototypes and the SWAP_* constants. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c237072776
commit
c1f09e08b8
|
@ -44,7 +44,6 @@
|
|||
swapon, swapoff \- start/stop swapping to file/device
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.B #include <sys/swap.h>
|
||||
.PP
|
||||
.BI "int swapon(const char *" path ", int " swapflags );
|
||||
|
|
Loading…
Reference in New Issue