summaryrefslogtreecommitdiff
path: root/bfd/binary.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
commitdc4fac06417cb873e1228b8905012adc1df3de0a (patch)
treeefdeafb4cb3738e257f19aa9ca9c8b9b7240b8f4 /bfd/binary.c
parent23ba13ea39bc1761db6cd916609eb937139f4d3b (diff)
downloadgdb-dc4fac06417cb873e1228b8905012adc1df3de0a.tar.gz
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'bfd/binary.c')
-rw-r--r--bfd/binary.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/binary.c b/bfd/binary.c
index 4d2fe03d6d8..6ef626c78d6 100644
--- a/bfd/binary.c
+++ b/bfd/binary.c
@@ -32,8 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
the file. objcopy cooperates by specially setting the start
address to zero by default. */
-#include <ctype.h>
-
+#include "safe-ctype.h"
#include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"
@@ -167,7 +166,7 @@ mangle_name (abfd, suffix)
/* Change any non-alphanumeric characters to underscores. */
for (p = buf; *p; p++)
- if (! isalnum ((unsigned char) *p))
+ if (! ISALNUM (*p))
*p = '_';
return buf;