Skip to content

Commit 17dd7b6

Browse files
authored
Merge pull request #829 from nobu/static-linked-ext
Functions defined in headers should be `static inline`
2 parents cfe9337 + 020693b commit 17dd7b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/json/ext/simd/simd.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ static inline FORCE_INLINE int string_scan_simd_neon(const char **ptr, const cha
103103
return 0;
104104
}
105105

106-
uint8x16x4_t load_uint8x16_4(const unsigned char *table) {
106+
static inline uint8x16x4_t load_uint8x16_4(const unsigned char *table)
107+
{
107108
uint8x16x4_t tab;
108109
tab.val[0] = vld1q_u8(table);
109110
tab.val[1] = vld1q_u8(table+16);

0 commit comments

Comments
 (0)