Skip to content

Commit f5f75fb

Browse files
committed
fix
1 parent 5426ee6 commit f5f75fb

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎cfg/std.cfg‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3238,16 +3238,15 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
32383238
<not-uninit/>
32393239
</arg>
32403240
</function>
3241-
<!-- struct tm *localtime_s(const time_t *restrict time, struct tm *restrict result) -->
3242-
<function name="localtime_s,std::localtime_s">
3243-
<returnValue type="struct tm *"/>
3241+
<!-- struct tm *localtime_s(const time_t *restrict time, struct tm *restrict result)
3242+
Order of arguments and return type differs between implementations, define a common baseline here. -->
3243+
<function name="localtime_s">
32443244
<noreturn>false</noreturn>
32453245
<leak-ignore/>
3246-
<arg nr="1" direction="in">
3246+
<arg nr="1">
32473247
<not-null/>
3248-
<not-uninit/>
32493248
</arg>
3250-
<arg nr="2" direction="out">
3249+
<arg nr="2">
32513250
<not-null/>
32523251
</arg>
32533252
</function>

‎cfg/windows.cfg‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4654,9 +4654,10 @@ HFONT CreateFont(
46544654
<not-uninit/>
46554655
</arg>
46564656
</function>
4657-
<!-- errno_t _localtime32_s( struct tm* _tm, const __time32_t *time);
4657+
<!-- errno_t localtime_s( struct tm* const tmDest, time_t const* const sourceTime);
4658+
errno_t _localtime32_s( struct tm* _tm, const __time32_t *time);
46584659
errno_t _localtime64_s( struct tm* _tm, const __time64_t *time); -->
4659-
<function name="_localtime32_s,_localtime64_s">
4660+
<function name="localtime_s,_localtime32_s,_localtime64_s">
46604661
<returnValue type="errno_t"/>
46614662
<noreturn>false</noreturn>
46624663
<leak-ignore/>

0 commit comments

Comments
 (0)