diff options
author | ache <ache@FreeBSD.org> | 1994-10-09 11:20:55 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-10-09 11:20:55 +0000 |
commit | 42017de88fd5ae3e7a428c53c14cbafd803c3259 (patch) | |
tree | 5c4c2891225e5cb85a57f3c256e54fc3f90039aa /lib/libc/locale/nomacros.c | |
parent | 738848484c62a2be41e6239a0715f0e44843f89a (diff) | |
download | FreeBSD-src-42017de88fd5ae3e7a428c53c14cbafd803c3259.zip FreeBSD-src-42017de88fd5ae3e7a428c53c14cbafd803c3259.tar.gz |
Sync with ctype.h (remove EOF handling)
Diffstat (limited to 'lib/libc/locale/nomacros.c')
-rw-r--r-- | lib/libc/locale/nomacros.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libc/locale/nomacros.c b/lib/libc/locale/nomacros.c index 90d1fe9..3880e10 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) ? |