summaryrefslogtreecommitdiffstats
path: root/bin/sh/arith_yacc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/arith_yacc.c')
-rw-r--r--bin/sh/arith_yacc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sh/arith_yacc.c b/bin/sh/arith_yacc.c
index 48c63ea..fbf9a64 100644
--- a/bin/sh/arith_yacc.c
+++ b/bin/sh/arith_yacc.c
@@ -84,6 +84,8 @@ static const char prec[ARITH_BINOP_MAX - ARITH_BINOP_MIN] = {
#define ARITH_MAX_PREC 8
+int letcmd(int, char **);
+
static __dead2 void yyerror(const char *s)
{
error("arithmetic expression: %s: \"%s\"", s, arith_startbuf);
@@ -377,4 +379,3 @@ letcmd(int argc, char **argv)
out1fmt(ARITH_FORMAT_STR "\n", i);
return !i;
}
-
OpenPOWER on IntegriCloud