summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-12-14 14:26:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-12-14 14:26:20 +0000
commit31532cee75f05163575b5ac99ccc844c2c853216 (patch)
tree54bf9439a27f7a25830d9b5408a9b35e0c463364 /include
parent2a20431354bedc08d9c689cce09e948b6fc83e1b (diff)
fix typo; noticed by David Krause
Diffstat (limited to 'include')
-rw-r--r--include/ctype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ctype.h b/include/ctype.h
index 7317a17bec2..13d64c9146f 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctype.h,v 1.8 2002/12/14 02:34:38 millert Exp $ */
+/* $OpenBSD: ctype.h,v 1.9 2002/12/14 14:26:19 millert Exp $ */
/* $NetBSD: ctype.h,v 1.14 1994/10/26 00:55:47 cgd Exp $ */
/*
@@ -134,7 +134,7 @@ static __inline int isspace(int c)
static __inline int isupper(int c)
{
- return (c == EOF ? : (_ctype_ + 1)[(unsigned int)c] & _U);
+ return (c == EOF ? 0 : (_ctype_ + 1)[(unsigned int)c] & _U);
}
static __inline int isxdigit(int c)