aboutsummaryrefslogtreecommitdiff
path: root/dc.c
diff options
context:
space:
mode:
Diffstat (limited to 'dc.c')
-rw-r--r--dc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/dc.c b/dc.c
index 7b13cb943..fac48e895 100644
--- a/dc.c
+++ b/dc.c
@@ -8,14 +8,6 @@
8 8
9/* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */ 9/* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */
10 10
11static const char dc_usage[] = "dc expression ...\n"
12#ifndef BB_FEATURE_TRIVIAL_HELP
13 "\nThis is a Tiny RPN calculator that understands the\n"
14 "following operations: +, -, /, *, and, or, not, eor.\n"
15 "i.e. 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16\n"
16#endif
17 ;
18
19static double stack[100]; 11static double stack[100];
20static unsigned int pointer; 12static unsigned int pointer;
21 13