Changeset 497


Ignore:
Timestamp:
Aug 1, 2003, 3:34:22 PM (22 years ago)
Author:
zap
Message:

Reverted isascii/toascii back to macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/ctype.h

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r496 r497  
    5858#if !defined (__STRICT_ANSI__) && !defined (_POSIX_SOURCE)
    5959
    60 static inline int isascii (int _c)
    61 { return (unsigned char)_c <= 0x7f; }
    62 
    63 static inline int toascii (int _c)
    64 { return (unsigned char)_c & 0x7f; }
     60#define isascii(c) (!((c) & 0x80))
     61#define toascii(c) ((c) & 0x7f)
    6562
    6663#endif
Note: See TracChangeset for help on using the changeset viewer.