summaryrefslogtreecommitdiff
path: root/miscutils/dc.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 /miscutils/dc.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r--miscutils/dc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index 7b13cb9..fac48e8 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -8,14 +8,6 @@
/* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */
-static const char dc_usage[] = "dc expression ...\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nThis is a Tiny RPN calculator that understands the\n"
- "following operations: +, -, /, *, and, or, not, eor.\n"
- "i.e. 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16\n"
-#endif
- ;
-
static double stack[100];
static unsigned int pointer;