libc-builtin: Fix the signature of strncasecmp native function (#888)

Fix the signature invalid issue in libc-builtin, modify signature of strncasecmp
native function from "($$i)" to "($$i)i".
This commit is contained in:
zhouliang3 2021-12-13 19:40:05 +08:00 committed by GitHub
parent e3ef216258
commit 2917a0c814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1161,7 +1161,7 @@ static NativeSymbol native_symbols_libc_builtin[] = {
REG_NATIVE_FUNC(strtol, "($*i)i"),
REG_NATIVE_FUNC(strtoul, "($*i)i"),
REG_NATIVE_FUNC(memchr, "(*ii)i"),
REG_NATIVE_FUNC(strncasecmp, "($$i)"),
REG_NATIVE_FUNC(strncasecmp, "($$i)i"),
REG_NATIVE_FUNC(strspn, "($$)i"),
REG_NATIVE_FUNC(strcspn, "($$)i"),
REG_NATIVE_FUNC(strstr, "($$)i"),