Remove swapon remnants

This commit is contained in:
christos 1997-10-16 23:13:24 +00:00
parent 84abd9f33b
commit 19acefc360

View File

@ -1,4 +1,4 @@
.\" $NetBSD: swapctl.2,v 1.6 1997/10/10 13:17:32 mrg Exp $ .\" $NetBSD: swapctl.2,v 1.7 1997/10/16 23:13:24 christos Exp $
.\" .\"
.\" Copyright (c) 1997 Matthew R. Green .\" Copyright (c) 1997 Matthew R. Green
.\" Copyright (c) 1980, 1991, 1993 .\" Copyright (c) 1980, 1991, 1993
@ -43,16 +43,11 @@
.Fd #include <vm/vm_swap.h> .Fd #include <vm/vm_swap.h>
.Ft int .Ft int
.Fn swapctl "int cmd" "const void *arg" "int misc" .Fn swapctl "int cmd" "const void *arg" "int misc"
.Fn swapon "const char *name"
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
function is used to add and delete swap devices, and modify their function is used to add and delete swap devices, and modify their
configuration. The configuration.
.Fn swapon
function is only retained as a backwards compatibility feature;
it should never be used in new code, and should be
removed from existing code.
.Pp .Pp
The The
.Fa cmd .Fa cmd
@ -213,10 +208,3 @@ The
.Fn swapctl .Fn swapctl
function call appeared in function call appeared in
.Nx 1.3 . .Nx 1.3 .
.Pp
The
.Fn swapon
function call appeared in
.Bx 4.0
and was dropped in
.Nx 1.3 .