From: MasaoFujii Date: Thu, 22 Aug 2019 17:45:53 +0000 (+0900) Subject: Fix the symbol not found error. X-Git-Url: http://git.osdn.net/view?p=ludiafuncs%2Fsenna-1.1.2-fast.git;a=commitdiff_plain;h=5235c89bc9e1c71f6364c44c6a0cad216d782a58 Fix the symbol not found error. This commit declares three "inline" functions as "static inline" for the fix. --- diff --git a/lib/ql.c b/lib/ql.c index 93ced41..5d7ab06 100644 --- 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 --- 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. */