projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feff6b4
)
add wcsftime_t alias
author
Rich Felker
<dalias@aerifal.cx>
Fri, 2 Aug 2013 22:05:56 +0000
(18:05 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 2 Aug 2013 22:05:56 +0000
(18:05 -0400)
this is a nonstandard extension.
src/time/wcsftime.c
patch
|
blob
|
history
diff --git
a/src/time/wcsftime.c
b/src/time/wcsftime.c
index 469d0f4c4367dfde592310fe260fc9e690d6af78..7d9cef00c060181ff08ebae28cf5491be15f9ce2 100644
(file)
--- a/
src/time/wcsftime.c
+++ b/
src/time/wcsftime.c
@@
-2,6
+2,7
@@
#include <time.h>
#include <string.h>
#include <locale.h>
+#include "libc.h"
size_t __strftime_l(char *restrict, size_t, const char *restrict, const struct tm *restrict, locale_t);
@@
-36,3
+37,5
@@
size_t wcsftime(wchar_t *restrict wcs, size_t n, const wchar_t *restrict f, cons
{
return __wcsftime_l(wcs, n, f, tm, 0);
}
+
+weak_alias(__wcsftime_l, wcsftime_l);