From b529ac16d7308cb6e852b286b42ebe971a32cd3f Mon Sep 17 00:00:00 2001 From: markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> Date: Thu, 7 Dec 2000 19:56:48 +0000 Subject: Changed names of functions in utility.c and all affected files, to make compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- dc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dc.c') diff --git a/dc.c b/dc.c index 0f5f1fc77..d462100a2 100644 --- a/dc.c +++ b/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 -- cgit v1.2.3-55-g6feb