std.cfg: Combined definitions of fget(w)c and get(w)c, removing wrong <use-retval/> from get(w)c
This commit is contained in:
parent
b964513611
commit
4a7b81218b
24
cfg/std.cfg
24
cfg/std.cfg
|
@ -830,7 +830,9 @@
|
||||||
</function>
|
</function>
|
||||||
<!-- int fgetc(FILE *stream); -->
|
<!-- int fgetc(FILE *stream); -->
|
||||||
<!-- wint_t fgetwc(FILE * stream); -->
|
<!-- wint_t fgetwc(FILE * stream); -->
|
||||||
<function name="fgetc,std::fgetc,fgetwc,std::fgetwc">
|
<!-- int getc(FILE *stream); -->
|
||||||
|
<!-- wint_t getwc(FILE* stream); -->
|
||||||
|
<function name="fgetc,std::fgetc,fgetwc,std::fgetwc,getc,std::getc,getwc,std::getwc">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1396,26 +1398,6 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
<!-- int getc(FILE *stream); -->
|
|
||||||
<function name="getc,std::getc">
|
|
||||||
<noreturn>false</noreturn>
|
|
||||||
<leak-ignore/>
|
|
||||||
<use-retval/>
|
|
||||||
<arg nr="1">
|
|
||||||
<not-null/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
</function>
|
|
||||||
<!-- wint_t getwc(FILE* stream); -->
|
|
||||||
<function name="getwc,std::getwc">
|
|
||||||
<noreturn>false</noreturn>
|
|
||||||
<leak-ignore/>
|
|
||||||
<use-retval/>
|
|
||||||
<arg nr="1">
|
|
||||||
<not-null/>
|
|
||||||
<not-uninit/>
|
|
||||||
</arg>
|
|
||||||
</function>
|
|
||||||
<!-- int getchar(void); -->
|
<!-- int getchar(void); -->
|
||||||
<function name="getchar">
|
<function name="getchar">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
|
Loading…
Reference in New Issue