aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-02 16:14:00 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-02 16:14:00 +0100
commit0e891aeed5d94977587015e31379c383e469eed8 (patch)
treebde014eb78b70d5a3a94189fa4505918dbc4b0d6
parentm readme (diff)
downloadslibc-0e891aeed5d94977587015e31379c383e469eed8.tar.gz
slibc-0e891aeed5d94977587015e31379c383e469eed8.tar.bz2
slibc-0e891aeed5d94977587015e31379c383e469eed8.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/ctype.h2
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