Add utime function to posix.cfg
This commit is contained in:
parent
39633ef26f
commit
841a27c19d
|
@ -1,5 +1,16 @@
|
|||
<?xml version="1.0"?>
|
||||
<def format="1">
|
||||
<function name="utime">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<function name="usleep">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
|
|
|
@ -46,6 +46,8 @@ void nullPointer(char *p) {
|
|||
getcwd (0, 0);
|
||||
// cppcheck-suppress nullPointer
|
||||
readdir (0);
|
||||
// cppcheck-suppress nullPointer
|
||||
utime(NULL, NULL);
|
||||
}
|
||||
|
||||
void memleak_getaddrinfo() {
|
||||
|
|
Loading…
Reference in New Issue