summaryrefslogtreecommitdiff
path: root/swaponoff.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /swaponoff.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'swaponoff.c')
-rw-r--r--swaponoff.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/swaponoff.c b/swaponoff.c
index a79b93a..6aafe51 100644
--- a/swaponoff.c
+++ b/swaponoff.c
@@ -35,25 +35,6 @@ _syscall1(int, swapoff, const char *, path);
static int whichApp;
-static const char swapoff_usage[] =
- "swapoff [OPTION] [device]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nStop swapping virtual memory pages on the given device.\n\n"
- "Options:\n"
- "\t-a\tStop swapping on all swap devices\n"
-#endif
- ;
-
-static const char swapon_usage[] =
- "swapon [OPTION] [device]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nStart swapping virtual memory pages on the given device.\n\n"
- "Options:\n"
- "\t-a\tStart swapping on all swap devices\n"
-#endif
- ;
-
-
#define SWAPON_APP 1
#define SWAPOFF_APP 2