diff options
Diffstat (limited to 'src/ctype/ispunct.c')
-rw-r--r-- | src/ctype/ispunct.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ctype/ispunct.c b/src/ctype/ispunct.c index fc455352..e772d76a 100644 --- a/src/ctype/ispunct.c +++ b/src/ctype/ispunct.c @@ -1,6 +1,14 @@ #include <ctype.h> +#include "libc.h" int ispunct(int c) { return isgraph(c) && !isalnum(c); } + +int __ispunct_l(int c, locale_t l) +{ + return ispunct(c); +} + +weak_alias(__ispunct_l, ispunct_l); |