aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-10-09 11:20:55 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-10-09 11:20:55 +0000
commitbac719f59992c7aab2f98969a2056076d9c69e97 (patch)
tree5c4c2891225e5cb85a57f3c256e54fc3f90039aa /lib
parent09b133a008fa2d60fddcc4ed45972d19d5875d52 (diff)
downloadsrc-bac719f59992c7aab2f98969a2056076d9c69e97.tar.gz
src-bac719f59992c7aab2f98969a2056076d9c69e97.zip
Sync with ctype.h (remove EOF handling)
Notes
Notes: svn path=/head/; revision=3457
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/nomacros.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libc/locale/nomacros.c b/lib/libc/locale/nomacros.c
index 90d1fe9cd995..3880e100780d 100644
--- a/lib/libc/locale/nomacros.c
+++ b/lib/libc/locale/nomacros.c
@@ -1,4 +1,3 @@
-#include <stdio.h>
#include <ctype.h>
#include <rune.h>
@@ -11,8 +10,6 @@ __istype(c, f)
_BSD_RUNE_T_ c;
unsigned long f;
{
- if (c == EOF)
- return 0;
if (c < 0)
c = (unsigned char) c;
return ((((c & _CRMASK) ? ___runetype(c)
@@ -24,8 +21,6 @@ __isctype(_BSD_RUNE_T_ c, unsigned long f)
_BSD_RUNE_T_ c;
unsigned long f;
{
- if (c == EOF)
- return 0;
if (c < 0)
c = (unsigned char) c;
return ((((c & _CRMASK) ? 0
@@ -36,8 +31,6 @@ _BSD_RUNE_T_
toupper(c)
_BSD_RUNE_T_ c;
{
- if (c == EOF)
- return EOF;
if (c < 0)
c = (unsigned char) c;
return ((c & _CRMASK) ?
@@ -48,8 +41,6 @@ _BSD_RUNE_T_
tolower(c)
_BSD_RUNE_T_ c;
{
- if (c == EOF)
- return EOF;
if (c < 0)
c = (unsigned char) c;
return ((c & _CRMASK) ?