aboutsummaryrefslogtreecommitdiff
path: root/miscutils/dc.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r--miscutils/dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index b6c6795b6..918f2b5c8 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -100,7 +100,7 @@ static void mod(void)
100 * 0 100 * 0
101 */ 101 */
102 if (d == 0) { 102 if (d == 0) {
103 bb_error_msg("remainder by zero"); 103 bb_simple_error_msg("remainder by zero");
104 pop(); 104 pop();
105 push(0); 105 push(0);
106 return; 106 return;
@@ -195,7 +195,7 @@ struct op {
195 void (*function) (void); 195 void (*function) (void);
196}; 196};
197 197
198static const struct op operators[] = { 198static const struct op operators[] ALIGN_PTR = {
199#if ENABLE_FEATURE_DC_LIBM 199#if ENABLE_FEATURE_DC_LIBM
200 {"^", power}, 200 {"^", power},
201// {"exp", power}, 201// {"exp", power},