X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ftime%2Fwcsftime.c;h=8e1437b33f9ce808597adcdf8db033514cb7fea8;hb=8ef9d46f4d0ff4f0073da6bee7ed0cb5f9035ead;hp=8d2a2ebc3fa18bf34935b0adf6a40a31e9a88e78;hpb=571744447c23f91feb6439948f3a619aca850dfb;p=musl diff --git a/src/time/wcsftime.c b/src/time/wcsftime.c index 8d2a2ebc..8e1437b3 100644 --- a/src/time/wcsftime.c +++ b/src/time/wcsftime.c @@ -1,9 +1,8 @@ #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) { @@ -13,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