Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/irc/bitchx/files/patch-source_expr2.c
16461 views
1
--- source/expr2.c.orig 2008-02-25 09:49:14 UTC
2
+++ source/expr2.c
3
@@ -1192,7 +1192,7 @@ int lexerr (expr_info *c, char *format, ...)
4
* case 'operand' is set to 1. When an operand is lexed, then the next token
5
* is expected to be a binary operator, so 'operand' is set to 0.
6
*/
7
-__inline int check_implied_arg (expr_info *c)
8
+__inline static int check_implied_arg (expr_info *c)
9
{
10
if (c->operand == 2)
11
{
12
@@ -1205,7 +1205,7 @@ __inline int check_implied_arg (expr_info *c)
13
return c->operand;
14
}
15
16
-__inline TOKEN operator (expr_info *c, char *x, int y, TOKEN z)
17
+__inline static TOKEN operator (expr_info *c, char *x, int y, TOKEN z)
18
{
19
check_implied_arg(c);
20
if (c->operand)
21
@@ -1216,7 +1216,7 @@ __inline TOKEN operator (expr_info *c, char *x, int y
22
return z;
23
}
24
25
-__inline TOKEN unary (expr_info *c, char *x, int y, TOKEN z)
26
+__inline static TOKEN unary (expr_info *c, char *x, int y, TOKEN z)
27
{
28
if (!c->operand)
29
return lexerr(c, "An operator (%s) was found where "
30
31