From 887a39f3dee0e6c8d3553dc525169cab9a891a9b Mon Sep 17 00:00:00 2001 From: schwarze Date: Sat, 13 Dec 2014 10:27:50 +0000 Subject: [PATCH] macro cleanup; from Kaspars Bankovskis, tweaked a bit --- lib/libc/sys/swapctl.2 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/libc/sys/swapctl.2 b/lib/libc/sys/swapctl.2 index e3d909d5b16..d2b90608d89 100644 --- a/lib/libc/sys/swapctl.2 +++ b/lib/libc/sys/swapctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: swapctl.2,v 1.19 2013/09/30 12:02:36 millert Exp $ +.\" $OpenBSD: swapctl.2,v 1.20 2014/12/13 10:27:50 schwarze Exp $ .\" $NetBSD: swapctl.2,v 1.10 1998/08/29 17:11:09 mrg Exp $ .\" .\" Copyright (c) 1997 Matthew R. Green @@ -29,16 +29,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 30 2013 $ +.Dd $Mdocdate: December 13 2014 $ .Dt SWAPCTL 2 .Os .Sh NAME .Nm swapctl .Nd modify swap configuration .Sh SYNOPSIS -.Fd #include -.Fd #include -.Fd #include +.In sys/param.h +.In sys/swap.h +.In unistd.h .Ft int .Fn swapctl "int cmd" "const void *arg" "int misc" .Sh DESCRIPTION @@ -221,12 +221,13 @@ function call appeared in The .Fa se_path member was added to -.Li struct swapent +.Vt struct swapent in .Nx 1.4 , when the header file was also moved from -.Aq Pa vm/vm_swap.h . +.In vm/vm_swap.h . .Sh AUTHORS +.An -nosplit The current swap system was designed and implemented by .An Matthew Green Aq Mt mrg@eterna.com.au , with help from -- 2.20.1