OSDN Git Service
(root)
/
ludiafuncs
/
senna-1.1.2-fast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f96c4d
)
Fix the symbol not found error.
author
MasaoFujii
<masao.fujii@gmail.com>
Thu, 22 Aug 2019 17:45:53 +0000
(
02:45
+0900)
committer
MasaoFujii
<masao.fujii@gmail.com>
Thu, 22 Aug 2019 17:45:53 +0000
(
02:45
+0900)
This commit declares three "inline" functions as "static inline" for the fix.
lib/ql.c
patch
|
blob
|
history
lib/str.c
patch
|
blob
|
history
diff --git
a/lib/ql.c
b/lib/ql.c
index
93ced41
..
5d7ab06
100644
(file)
--- a/
lib/ql.c
+++ b/
lib/ql.c
@@
-3496,7
+3496,7
@@
mk_atom(sen_ctx *ctx, char *str, unsigned int len)
}
}
-inline sen_obj *
+
static
inline sen_obj *
json_readstr(sen_ctx *ctx, jctx *jc)
{
char *start, *end;
@@
-3523,7
+3523,7
@@
json_readstr(sen_ctx *ctx, jctx *jc)
}
}
-inline sen_obj *
+
static
inline sen_obj *
json_readstrexp(sen_ctx *ctx, jctx *jc)
{
sen_obj *res;
diff --git
a/lib/str.c
b/lib/str.c
index
66ffebe
..
158721b
100644
(file)
--- a/
lib/str.c
+++ b/
lib/str.c
@@
-73,7
+73,7
@@
suffix_init(void)
}
}
-inline size_t
+
static
inline size_t
sen_str_charlen_utf8(const unsigned char *str, const unsigned char *end)
{
/* MEMO: This function allows non-null-terminated string as str. */