From 0c7294ef30544f825430a3692c717f6f470974fe Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 2 Aug 2013 18:05:56 -0400 Subject: add wcsftime_t alias this is a nonstandard extension. --- src/time/wcsftime.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/time') 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 #include #include +#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); -- cgit v1.2.1