aboutsummaryrefslogtreecommitdiff
path: root/miscutils/dc.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /miscutils/dc.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r--miscutils/dc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index f574ae4a0..0ac658d9c 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -87,7 +87,7 @@ static void not(void)
87 87
88static void set_output_base(void) 88static void set_output_base(void)
89{ 89{
90 base=(unsigned char)pop(); 90 base=(unsigned char)pop();
91 if ((base != 10) && (base != 16)) { 91 if ((base != 10) && (base != 16)) {
92 fprintf(stderr, "Error: base = %d is not supported.\n", base); 92 fprintf(stderr, "Error: base = %d is not supported.\n", base);
93 base=10; 93 base=10;
@@ -96,7 +96,7 @@ static void set_output_base(void)
96 96
97static void print_base(double print) 97static void print_base(double print)
98{ 98{
99 if (base == 16) 99 if (base == 16)
100 printf("%x\n", (unsigned int)print); 100 printf("%x\n", (unsigned int)print);
101 else 101 else
102 printf("%g\n", print); 102 printf("%g\n", print);
@@ -178,7 +178,7 @@ static void stack_machine(const char *argument)
178} 178}
179 179
180/* return pointer to next token in buffer and set *buffer to one char 180/* return pointer to next token in buffer and set *buffer to one char
181 * past the end of the above mentioned token 181 * past the end of the above mentioned token
182 */ 182 */
183static char *get_token(char **buffer) 183static char *get_token(char **buffer)
184{ 184{