|
|
328c3d1 |
diff -uNrp BitchX-1.2.1.orig/source/expr2.c BitchX-1.2.1/source/expr2.c
|
|
|
328c3d1 |
--- BitchX-1.2.1.orig/source/expr2.c 2013-01-01 15:55:05.000000000 +1100
|
|
|
328c3d1 |
+++ BitchX-1.2.1/source/expr2.c 2020-01-30 22:08:58.752241991 +1100
|
|
|
328c3d1 |
@@ -1192,7 +1192,7 @@ int lexerr (expr_info *c, char *format,
|
|
|
328c3d1 |
* case 'operand' is set to 1. When an operand is lexed, then the next token
|
|
|
328c3d1 |
* is expected to be a binary operator, so 'operand' is set to 0.
|
|
|
328c3d1 |
*/
|
|
|
328c3d1 |
-__inline int check_implied_arg (expr_info *c)
|
|
|
328c3d1 |
+__inline static int check_implied_arg (expr_info *c)
|
|
|
328c3d1 |
{
|
|
|
328c3d1 |
if (c->operand == 2)
|
|
|
328c3d1 |
{
|
|
|
328c3d1 |
@@ -1205,7 +1205,7 @@ __inline int check_implied_arg (expr_inf
|
|
|
328c3d1 |
return c->operand;
|
|
|
328c3d1 |
}
|
|
|
328c3d1 |
|
|
|
328c3d1 |
-__inline TOKEN operator (expr_info *c, char *x, int y, TOKEN z)
|
|
|
328c3d1 |
+__inline static TOKEN operator (expr_info *c, char *x, int y, TOKEN z)
|
|
|
328c3d1 |
{
|
|
|
328c3d1 |
check_implied_arg(c);
|
|
|
328c3d1 |
if (c->operand)
|
|
|
328c3d1 |
@@ -1216,7 +1216,7 @@ __inline TOKEN operator (expr_info *c,
|
|
|
328c3d1 |
return z;
|
|
|
328c3d1 |
}
|
|
|
328c3d1 |
|
|
|
328c3d1 |
-__inline TOKEN unary (expr_info *c, char *x, int y, TOKEN z)
|
|
|
328c3d1 |
+__inline static TOKEN unary (expr_info *c, char *x, int y, TOKEN z)
|
|
|
328c3d1 |
{
|
|
|
328c3d1 |
if (!c->operand)
|
|
|
328c3d1 |
return lexerr(c, "An operator (%s) was found where "
|