swapon.2: Remove header from synopsis

The <asm/page.h> header is not readily available, and the comment
seems to indicate that it is for getting PAGE_SIZE. But it is
never mentioned why one would need to know that, and it is in any
case better obtained using sysconf(), provided by <unistd.h>.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Rasmus Villemoes 2014-05-20 01:02:10 +02:00 committed by Michael Kerrisk
parent 8c7d2f0455
commit 236899f0ab
1 changed files with 0 additions and 2 deletions

View File

@ -40,8 +40,6 @@ swapon, swapoff \- start/stop swapping to file/device
.SH SYNOPSIS
.B #include <unistd.h>
.br
.B #include <asm/page.h> /* to find PAGE_SIZE */
.br
.B #include <sys/swap.h>
.sp
.BI "int swapon(const char *" path ", int " swapflags );