diff options
Diffstat (limited to '')
-rw-r--r-- | include/ctype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ctype.h b/include/ctype.h index ec715d8..3147deb 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -190,7 +190,7 @@ int (isprint)(int) /* [0x20, 0x7E] */ int (ispunct)(int) /* isprint && !isalnum && !isspace */ __GCC_ONLY(__attribute__((__const__))); #if defined (__GNUC__) -# define ispunk(c) \ +# define ispunct(c) \ ({ int __c = (c); (isprint(__c) && !isalnum(__c) && !isspace(__c)); }) #endif |