gnu.cfg: strcasestr wrong return type (#4776)

This commit is contained in:
Tobias 2023-02-07 23:17:25 +01:00 committed by GitHub
parent 119a681265
commit 608be24726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -980,10 +980,10 @@
<warn severity="style" reason="Obsolescent" alternatives="sprintf"/>
</function>
<!-- https://www.gnu.org/software/gnulib/manual/html_node/c_002dstrcasestr.html -->
<!-- size_t strcasestr(const char *s1, const char *s2); -->
<!-- char* strcasestr(const char *s1, const char *s2); -->
<function name="strcasestr">
<use-retval/>
<returnValue type="size_t"/>
<returnValue type="char *"/>
<noreturn>false</noreturn>
<leak-ignore/>
<pure/>