diff options
author | 2002-05-15 23:24:43 +0000 | |
---|---|---|
committer | 2002-05-15 23:24:43 +0000 | |
commit | 52edb1a824c6e27e1bd9f61c66399ab3a34490e9 (patch) | |
tree | db53a46114d072fea1ede3d53623b9cdfec5ea33 | |
parent | kill the reference to swapoff. (diff) | |
download | wireguard-openbsd-52edb1a824c6e27e1bd9f61c66399ab3a34490e9.tar.xz wireguard-openbsd-52edb1a824c6e27e1bd9f61c66399ab3a34490e9.zip |
Kill commented out stubs for swapoff.
-rw-r--r-- | sbin/swapctl/swapctl.c | 12 |
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': |