about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-02 18:05:56 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-02 18:05:56 -0400
commit0c7294ef30544f825430a3692c717f6f470974fe (patch)
tree82c40c6d90bfac0cc2d37a2b2493be1094827373 /src
parentfeff6b43e53cedf6887c9fcd4f3993a6244de5ef (diff)
downloadmusl-0c7294ef30544f825430a3692c717f6f470974fe.tar.gz
musl-0c7294ef30544f825430a3692c717f6f470974fe.tar.xz
musl-0c7294ef30544f825430a3692c717f6f470974fe.zip
add wcsftime_t alias
this is a nonstandard extension.
Diffstat (limited to 'src')
-rw-r--r--src/time/wcsftime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/time/wcsftime.c b/src/time/wcsftime.c
index 469d0f4c..7d9cef00 100644
--- 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);