summaryrefslogtreecommitdiff
path: root/sbin/swapctl/swapctl.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-05-15 23:24:44 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-05-15 23:24:44 +0000
commitd10f6942f8e7d568549113d3d47dc0514bf309cb (patch)
treec7aa358299e0ed5b4447e107af3cc14ff6906116 /sbin/swapctl/swapctl.c
parentc775bc0501470f7b0990343e8764d25b53f4bcde (diff)
Kill commented out stubs for swapoff.
Diffstat (limited to 'sbin/swapctl/swapctl.c')
-rw-r--r--sbin/swapctl/swapctl.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sbin/swapctl/swapctl.c b/sbin/swapctl/swapctl.c
index 4e7d69fd6c0..7c8ae565ba9 100644
--- a/sbin/swapctl/swapctl.c
+++ b/sbin/swapctl/swapctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: swapctl.c,v 1.7 2002/02/16 21:27:38 millert Exp $ */
+/* $OpenBSD: swapctl.c,v 1.8 2002/05/15 23:24:43 art Exp $ */
/* $NetBSD: swapctl.c,v 1.9 1998/07/26 20:23:15 mycroft Exp $ */
/*
@@ -112,9 +112,6 @@ static void del_swap(char *);
static void do_fstab(void);
static void usage(void);
static int swapon_command(int, char **);
-#if 0
-static void swapoff_command(int, char **);
-#endif
extern char *__progname; /* from crt0.o */
@@ -128,13 +125,6 @@ main(argc, argv)
if (strcmp(__progname, "swapon") == 0)
return swapon_command(argc, argv);
-#if 0
- if (strcmp(__progname, "swapoff") == 0) {
- swapoff_command(argc, argv);
- /* NOTREACHED */
- }
-#endif
-
while ((c = getopt(argc, argv, "Aacdlkp:st:")) != -1) {
switch (c) {
case 'A':