summaryrefslogtreecommitdiff
path: root/bfd/stabs.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2001-09-19 05:33:36 +0000
committerH.J. Lu <hjl@lucon.org>2001-09-19 05:33:36 +0000
commit75e56203c5a58ad68a2015e0c7da2590093a3ec0 (patch)
treee91126f6df5579aaae921d5b82dc556b8c174966 /bfd/stabs.c
parent196eb9fb0228e90f1f5c43a65372657f443580da (diff)
downloadbinutils-redhat-75e56203c5a58ad68a2015e0c7da2590093a3ec0.tar.gz
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'bfd/stabs.c')
-rw-r--r--bfd/stabs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/stabs.c b/bfd/stabs.c
index ea7e486c14..f54d658a58 100644
--- a/bfd/stabs.c
+++ b/bfd/stabs.c
@@ -26,8 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "sysdep.h"
#include "libbfd.h"
#include "aout/stab_gnu.h"
-
-#include <ctype.h>
+#include "safe-ctype.h"
/* Stabs entries use a 12 byte format:
4 byte string table index
@@ -364,7 +363,7 @@ _bfd_link_section_stabs (abfd, psinfo, stabsec, stabstrsec, psecinfo)
{
/* Skip the file number. */
++str;
- while (isdigit ((unsigned char) *str))
+ while (ISDIGIT (*str))
++str;
--str;
}