posix.cfg: Improved configuration for dlopen() and dlclose(). Ensure the return value is taken into account for dlopen() and leak-ignore flag is not present for dlopen() and dlclose().

This commit is contained in:
orbitcowboy 2019-09-06 15:25:54 +02:00
parent 32dad3f44a
commit d774359f68
1 changed files with 1 additions and 2 deletions

View File

@ -348,7 +348,7 @@
<!-- void *dlopen(const char *file, int mode); --> <!-- void *dlopen(const char *file, int mode); -->
<function name="dlopen"> <function name="dlopen">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <use-retval/>
<returnValue type="void*"/> <returnValue type="void*"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
@ -376,7 +376,6 @@
<!-- int dlclose(void *handle); --> <!-- int dlclose(void *handle); -->
<function name="dlclose"> <function name="dlclose">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="int"/> <returnValue type="int"/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>