From 19acefc3600b9fe1a9882379516c43c89289abcd Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 16 Oct 1997 23:13:24 +0000 Subject: [PATCH] Remove swapon remnants --- lib/libc/sys/swapctl.2 | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/lib/libc/sys/swapctl.2 b/lib/libc/sys/swapctl.2 index ab905c3ec023..088eafc3dcdf 100644 --- a/lib/libc/sys/swapctl.2 +++ b/lib/libc/sys/swapctl.2 @@ -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) 1980, 1991, 1993 @@ -43,16 +43,11 @@ .Fd #include .Ft int .Fn swapctl "int cmd" "const void *arg" "int misc" -.Fn swapon "const char *name" .Sh DESCRIPTION The .Nm function is used to add and delete swap devices, and modify their -configuration. The -.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. +configuration. .Pp The .Fa cmd @@ -213,10 +208,3 @@ The .Fn swapctl function call appeared in .Nx 1.3 . -.Pp -The -.Fn swapon -function call appeared in -.Bx 4.0 -and was dropped in -.Nx 1.3 .