Various changes to header files for tcpdump.
This commit is contained in:
@@ -35,6 +35,7 @@ _PROTOTYPE( int isupper, (int _c) ); /* upper-case letter [A-Z] */
|
||||
_PROTOTYPE( int isxdigit,(int _c) ); /* hex digit [0-9], [a-f], [A-F] */
|
||||
_PROTOTYPE( int tolower, (int _c) ); /* convert to lower-case */
|
||||
_PROTOTYPE( int toupper, (int _c) ); /* convert to upper-case */
|
||||
_PROTOTYPE( int toascii, (int _c) ); /* convert to 7-bit ASCII */
|
||||
|
||||
/* Macros for identifying character classes. */
|
||||
#define isalnum(c) ((__ctype+1)[c]&(_U|_L|_N))
|
||||
@@ -51,4 +52,6 @@ _PROTOTYPE( int toupper, (int _c) ); /* convert to upper-case */
|
||||
#define isprint(c) ((unsigned) ((c)-' ') < 95)
|
||||
#define isascii(c) ((unsigned) (c) < 128)
|
||||
|
||||
#define toascii(c) ((c) & 0x7f)
|
||||
|
||||
#endif /* _CTYPE_H */
|
||||
|
||||
Reference in New Issue
Block a user