From da36c2b13f37589c756dc8e83d40a82b1c53fe47 Mon Sep 17 00:00:00 2001 From: eck Date: Wed, 24 Oct 1990 17:24:12 +0000 Subject: [PATCH] deleted toupper and tolower macros: they were wrong --- lang/cem/libcc.ansi/headers/ctype.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lang/cem/libcc.ansi/headers/ctype.h b/lang/cem/libcc.ansi/headers/ctype.h index cf38d6228..bbe2d4057 100644 --- a/lang/cem/libcc.ansi/headers/ctype.h +++ b/lang/cem/libcc.ansi/headers/ctype.h @@ -7,7 +7,6 @@ #define _CTYPE_H extern char __ctype[]; /* located in chartab.c */ -extern int __x; /* scratch variable */ #define _U 0x01 /* this bit is for upper-case letters [A-Z] */ #define _L 0x02 /* this bit is for lower-case letters [a-z] */ @@ -45,7 +44,4 @@ int toupper(int _c); /* convert to upper case character */ #define isprint(c) ((unsigned) ((c)-' ') < 95) #define isascii(c) ((unsigned) (c) < 128) -#define toupper(c) (__x = (c), islower( __x) ? __x - 'a' + 'A' : __x) -#define tolower(c) (__x = (c), isupper( __x) ? __x - 'A' + 'a' : __x) - #endif /* _CTYPE_H */ -- 2.34.1