diff options
Diffstat (limited to 'newlib/libc/ctype/isprint.c')
-rw-r--r-- | newlib/libc/ctype/isprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/ctype/isprint.c b/newlib/libc/ctype/isprint.c index 2f317a291..2ff00f4e3 100644 --- a/newlib/libc/ctype/isprint.c +++ b/newlib/libc/ctype/isprint.c @@ -47,7 +47,7 @@ No supporting OS subroutines are required. int _DEFUN(isgraph,(c),int c) { - return(__ctype_ptr__[c+1] & (_P|_U|_L|_N)); + return((_ctype_ + 1)[c] & (_P|_U|_L|_N)); } @@ -55,6 +55,6 @@ _DEFUN(isgraph,(c),int c) int _DEFUN(isprint,(c),int c) { - return(__ctype_ptr__[c+1] & (_P|_U|_L|_N|_B)); + return((_ctype_ + 1)[c] & (_P|_U|_L|_N|_B)); } |