Fixed #6390, strncmp and similar functions are <pure/>

This commit is contained in:
PKEuS 2015-01-09 14:35:12 +01:00
parent a5e3f2889c
commit c4269b3b44
2 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,7 @@
</function> </function>
<function name="strcasecmp"> <function name="strcasecmp">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<pure/>
<leak-ignore/> <leak-ignore/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
@ -256,6 +257,7 @@
</function> </function>
<function name="strncasecmp"> <function name="strncasecmp">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<pure/>
<leak-ignore/> <leak-ignore/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>

View File

@ -3140,6 +3140,7 @@
<function name="strncmp"> <function name="strncmp">
<use-retval/> <use-retval/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<pure/>
<leak-ignore/> <leak-ignore/>
<arg nr="1"> <arg nr="1">
<not-null/> <not-null/>
@ -3157,6 +3158,7 @@
<function name="wcsncmp"> <function name="wcsncmp">
<use-retval/> <use-retval/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<pure/>
<leak-ignore/> <leak-ignore/>
<arg nr="1"> <arg nr="1">
<not-null/> <not-null/>