diff options
author | Mark Whitley | 2000-12-07 19:56:48 +0000 |
---|---|---|
committer | Mark Whitley | 2000-12-07 19:56:48 +0000 |
commit | f57c944e09417edcbcd69f2b01b937cadef39db2 (patch) | |
tree | a55822621d54bd82c54e272fa986e45698fea0f1 /miscutils/dc.c | |
parent | 7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff) | |
download | busybox-f57c944e09417edcbcd69f2b01b937cadef39db2.zip busybox-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.gz |
Changed names of functions in utility.c and all affected files, to make
compliant with the style guide. Everybody rebuild your tags file!
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r-- | miscutils/dc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c index 0f5f1fc..d462100 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c @@ -14,14 +14,14 @@ static unsigned int pointer; static void push(double a) { if (pointer >= (sizeof(stack) / sizeof(*stack))) - fatalError("stack overflow\n"); + error_msg_and_die("stack overflow\n"); stack[pointer++] = a; } static double pop() { if (pointer == 0) - fatalError("stack underflow\n"); + error_msg_and_die("stack underflow\n"); return stack[--pointer]; } @@ -120,7 +120,7 @@ static void stack_machine(const char *argument) } o++; } - fatalError("%s: syntax error.\n", argument); + error_msg_and_die("%s: syntax error.\n", argument); } /* return pointer to next token in buffer and set *buffer to one char |