about summary refs log tree commit diff
path: root/arch/powerpc64/crt_arch.h
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-04-07 09:47:16 -0500
committerRich Felker <dalias@aerifal.cx>2018-04-07 19:03:15 -0400
commitea81529fb92932a50f06bf7a19cae812ae6cdb59 (patch)
tree825a33a65ae71f195e27dc773dbfd6c2d3742f47 /arch/powerpc64/crt_arch.h
parent119bc55ba66542a1c2fb7fc1c4e6c85f46b97c57 (diff)
downloadmusl-ea81529fb92932a50f06bf7a19cae812ae6cdb59.tar.gz
musl-ea81529fb92932a50f06bf7a19cae812ae6cdb59.tar.xz
musl-ea81529fb92932a50f06bf7a19cae812ae6cdb59.zip
implement wcsftime padding specifier extensions
Commit 8a6bd7307da3fc4d08dd6a9277b611ccb4971354 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.
Diffstat (limited to 'arch/powerpc64/crt_arch.h')
0 files changed, 0 insertions, 0 deletions