about summary refs log tree commit diff
path: root/src/ctype/iswgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/iswgraph.c')
-rw-r--r--src/ctype/iswgraph.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ctype/iswgraph.c b/src/ctype/iswgraph.c
index fdc97853..0ea5ca3a 100644
--- a/src/ctype/iswgraph.c
+++ b/src/ctype/iswgraph.c
@@ -1,7 +1,15 @@
 #include <wctype.h>
+#include "libc.h"
 
 int iswgraph(wint_t wc)
 {
 	/* ISO C defines this function as: */
 	return !iswspace(wc) && iswprint(wc);
 }
+
+int __iswgraph_l(wint_t c, locale_t l)
+{
+	return iswgraph(c);
+}
+
+weak_alias(__iswgraph_l, iswgraph_l);