X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=inline;f=src%2Ftime%2Fwcsftime.c;h=8e1437b33f9ce808597adcdf8db033514cb7fea8;hb=c5f4b2dfea320356f69445dc1adf8f73596a3c36;hp=a2804ac8182cffadc3042eaa16838d93babd091e;hpb=f63b8c8c455929f0f46cc017b4c675faeef901c4;p=musl diff --git a/src/time/wcsftime.c b/src/time/wcsftime.c index a2804ac8..8e1437b3 100644 --- a/src/time/wcsftime.c +++ b/src/time/wcsftime.c @@ -1,10 +1,8 @@ #include #include -#include #include -#include "libc.h" - -const char *__strftime_fmt_1(char (*s)[100], size_t *l, int f, const struct tm *tm, locale_t loc); +#include "locale_impl.h" +#include "time_impl.h" size_t __wcsftime_l(wchar_t *restrict s, size_t n, const wchar_t *restrict f, const struct tm *restrict tm, locale_t loc) { @@ -14,7 +12,7 @@ size_t __wcsftime_l(wchar_t *restrict s, size_t n, const wchar_t *restrict f, co wchar_t *p; const char *t_mb; const wchar_t *t; - int plus; + int pad, plus; unsigned long width; for (l=0; l