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:
Alejandro Colomar 2021-06-12 10:31:27 +02:00 committed by Michael Kerrisk
parent c237072776
commit c1f09e08b8
1 changed files with 0 additions and 1 deletions

View File

@ -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 );