• S
    implement wcsftime padding specifier extensions · ea81529f
    Samuel Holland 提交于
    Commit 8a6bd730 added support for
    padding specifier extensions to strftime, but did not modify wcsftime.
    In the process, it added a parameter to __strftime_fmt_1 in strftime.c,
    but failed to update the prototype in wcsftime.c. This was found by
    compiling musl with LTO:
    
        src/time/wcsftime.c:7:13: warning: type of '__strftime_fmt_1' does \
            not match original declaration [-Wlto-type-mismatch]
    
    Fix the prototype of __strftime_fmt_1 in wcsftime.c, and generate the
    'pad' argument the same way as it is done in strftime.
    ea81529f
wcsftime.c 1.6 KB