summaryrefslogtreecommitdiff
path: root/bfd/ppcboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/ppcboot.c')
-rw-r--r--bfd/ppcboot.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/ppcboot.c b/bfd/ppcboot.c
index 478d55a2342..cd196b89202 100644
--- a/bfd/ppcboot.c
+++ b/bfd/ppcboot.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"
@@ -279,7 +278,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;