FreeBSD Bugzilla – Attachment 227862 Details for
Bug 258464
chinese/bitchx irc/bitch: fix build with clang 13
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
chinese/bitchx irc/bitchx: fix non-static inline functions
irc__bitchx-fix-non-static-inline-1.diff (text/plain), 1.39 KB, created by
Dimitry Andric
on 2021-09-12 20:18:45 UTC
(
hide
)
Description:
chinese/bitchx irc/bitchx: fix non-static inline functions
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2021-09-12 20:18:45 UTC
Size:
1.39 KB
patch
obsolete
>commit ff4b6706b598ce47e55c0bf17d7c4ffd75a1b40b >Author: Dimitry Andric <dim@FreeBSD.org> >Date: Sun Sep 12 22:13:36 2021 +0200 > > irc/bitchx: fix non-static inline functions > >diff --git a/irc/bitchx/files/patch-source_expr2.c b/irc/bitchx/files/patch-source_expr2.c >new file mode 100644 >index 000000000000..08df39bb0083 >--- /dev/null >+++ b/irc/bitchx/files/patch-source_expr2.c >@@ -0,0 +1,29 @@ >+--- source/expr2.c.orig 2008-02-25 09:49:14 UTC >++++ source/expr2.c >+@@ -1192,7 +1192,7 @@ int lexerr (expr_info *c, char *format, ...) >+ * case 'operand' is set to 1. When an operand is lexed, then the next token >+ * is expected to be a binary operator, so 'operand' is set to 0. >+ */ >+-__inline int check_implied_arg (expr_info *c) >++__inline static int check_implied_arg (expr_info *c) >+ { >+ if (c->operand == 2) >+ { >+@@ -1205,7 +1205,7 @@ __inline int check_implied_arg (expr_info *c) >+ return c->operand; >+ } >+ >+-__inline TOKEN operator (expr_info *c, char *x, int y, TOKEN z) >++__inline static TOKEN operator (expr_info *c, char *x, int y, TOKEN z) >+ { >+ check_implied_arg(c); >+ if (c->operand) >+@@ -1216,7 +1216,7 @@ __inline TOKEN operator (expr_info *c, char *x, int y >+ return z; >+ } >+ >+-__inline TOKEN unary (expr_info *c, char *x, int y, TOKEN z) >++__inline static TOKEN unary (expr_info *c, char *x, int y, TOKEN z) >+ { >+ if (!c->operand) >+ return lexerr(c, "An operator (%s) was found where "
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258464
: 227862