aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/xref.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-05-06 11:41:58 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-05-06 11:41:58 +0000
commitfaa25e97f1331661b8c4584c2a22f70bcf1d7b77 (patch)
treed3d8da24373c5be0d9dc6b2af4d46fbfbceff37e /gcc/cp/xref.c
parentf8676b5db3879f6a4302ac559806bdfe40fe129e (diff)
downloadgcc-faa25e97f1331661b8c4584c2a22f70bcf1d7b77.zip
gcc-faa25e97f1331661b8c4584c2a22f70bcf1d7b77.tar.gz
gcc-faa25e97f1331661b8c4584c2a22f70bcf1d7b77.tar.bz2
error.c: Convert to using ctype macros defined in system.h.
* error.c: Convert to using ctype macros defined in system.h. * method.c: Likewise. * xref.c: Likewise. * lex.c: Likewise. Also remove redundant system header stuff. From-SVN: r19577
Diffstat (limited to 'gcc/cp/xref.c')
-rw-r--r--gcc/cp/xref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/xref.c b/gcc/cp/xref.c
index dd85cef..9c530d0 100644
--- a/gcc/cp/xref.c
+++ b/gcc/cp/xref.c
@@ -1,5 +1,5 @@
/* Code for handling XREF output from GNU C++.
- Copyright (C) 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1992, 93-97, 1998 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com)
This file is part of GNU CC.
@@ -715,7 +715,7 @@ simplify_type(typ)
int lvl, i;
i = strlen(typ);
- while (i > 0 && isspace(typ[i-1])) typ[--i] = 0;
+ while (i > 0 && ISSPACE(typ[i-1])) typ[--i] = 0;
if (i > 7 && STREQL(&typ[i-5], "const"))
{