summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strxfrm_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strxfrm_l.c')
-rw-r--r--lib/libc/string/strxfrm_l.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/string/strxfrm_l.c b/lib/libc/string/strxfrm_l.c
new file mode 100644
index 00000000000..ff77947953b
--- /dev/null
+++ b/lib/libc/string/strxfrm_l.c
@@ -0,0 +1,14 @@
+/* $OpenBSD: strxfrm_l.c,v 1.1 2017/09/05 03:16:14 schwarze Exp $ */
+/*
+ * Written in 2017 by Ingo Schwarze <schwarze@openbsd.org>.
+ * Released into the public domain.
+ */
+
+#include <string.h>
+
+size_t
+strxfrm_l(char *dst, const char *src, size_t n,
+ locale_t locale __attribute__((__unused__)))
+{
+ return strxfrm(dst, src, n);
+}