summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/time.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgcompat/time.c b/libgcompat/time.c
new file mode 100644
index 0000000..a058edb
--- /dev/null
+++ b/libgcompat/time.c
@@ -0,0 +1,7 @@
+#include <time.h>
+
+size_t __strftime_l(char *restrict s, size_t n, const char *restrict f,
+ const struct tm *restrict tm, locale_t loc)
+{
+ return strftime_l(s, n, f, tm, loc);
+}