diff options
Diffstat (limited to 'newlib/libc/ctype/ispunct.c')
-rw-r--r-- | newlib/libc/ctype/ispunct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/ctype/ispunct.c b/newlib/libc/ctype/ispunct.c index 9b9c9c0bc..c5679323c 100644 --- a/newlib/libc/ctype/ispunct.c +++ b/newlib/libc/ctype/ispunct.c @@ -41,6 +41,6 @@ No supporting OS subroutines are required. int _DEFUN(ispunct,(c),int c) { - return(__ctype_ptr__[c+1] & _P); + return((_ctype_ + 1)[c] & _P); } |