Path: blob/main/irc/bitchx/files/patch-source_expr2.c
16461 views
--- source/expr2.c.orig 2008-02-25 09:49:14 UTC1+++ source/expr2.c2@@ -1192,7 +1192,7 @@ int lexerr (expr_info *c, char *format, ...)3* case 'operand' is set to 1. When an operand is lexed, then the next token4* is expected to be a binary operator, so 'operand' is set to 0.5*/6-__inline int check_implied_arg (expr_info *c)7+__inline static int check_implied_arg (expr_info *c)8{9if (c->operand == 2)10{11@@ -1205,7 +1205,7 @@ __inline int check_implied_arg (expr_info *c)12return c->operand;13}1415-__inline TOKEN operator (expr_info *c, char *x, int y, TOKEN z)16+__inline static TOKEN operator (expr_info *c, char *x, int y, TOKEN z)17{18check_implied_arg(c);19if (c->operand)20@@ -1216,7 +1216,7 @@ __inline TOKEN operator (expr_info *c, char *x, int y21return z;22}2324-__inline TOKEN unary (expr_info *c, char *x, int y, TOKEN z)25+__inline static TOKEN unary (expr_info *c, char *x, int y, TOKEN z)26{27if (!c->operand)28return lexerr(c, "An operator (%s) was found where "293031