summaryrefslogtreecommitdiff
path: root/ctype
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1992-10-07 23:13:17 +0000
committerRoland McGrath <roland@gnu.org>1992-10-07 23:13:17 +0000
commitf99c3aa54d76af8b721975c0d9180d7d5479de65 (patch)
tree81cee141d57957601df5d3e14d9983e32d4d1207 /ctype
parentf506882c936993c9d4c6a5fe598943d904f7aa92 (diff)
entered into RCS
Diffstat (limited to 'ctype')
-rw-r--r--ctype/ctype.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/ctype/ctype.c b/ctype/ctype.c
index be0c202e48..ee874de057 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,17 +41,11 @@ func(isxdigit, _ISxdigit)
int
DEFUN(tolower, (c), int c)
{
- if ((unsigned char) c != c)
- return c;
- else
- return __tolower (c);
+ return __tolower (c);
}
int
DEFUN(toupper, (c), int c)
{
- if ((unsigned char) c != c)
- return c;
- else
- return __toupper (c);
+ return __toupper (c);
}