summaryrefslogtreecommitdiff
path: root/bfd/srec.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-09-19 05:33:36 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-09-19 05:33:36 +0000
commit3882b010780ca1aa1ed5d7b38e936cd2d6d5486b (patch)
treec806a73a13afd3265ba6b538ba73cae065c591f5 /bfd/srec.c
parent6b819c92c4512ccfba90f0caa204ab687fae8254 (diff)
downloadbinutils-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.gz
binutils-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.bz2
binutils-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.zip
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'bfd/srec.c')
-rw-r--r--bfd/srec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/srec.c b/bfd/srec.c
index 0987051e73a..54706acb8c5 100644
--- a/bfd/srec.c
+++ b/bfd/srec.c
@@ -108,7 +108,7 @@ DESCRIPTION
#include "sysdep.h"
#include "libbfd.h"
#include "libiberty.h"
-#include <ctype.h>
+#include "safe-ctype.h"
static void srec_get_symbol_info PARAMS ((bfd *, asymbol *, symbol_info *));
static void srec_print_symbol
@@ -291,7 +291,7 @@ srec_bad_byte (abfd, lineno, c, error)
{
char buf[10];
- if (! isprint (c))
+ if (! ISPRINT (c))
sprintf (buf, "\\%03o", (unsigned int) c);
else
{
@@ -418,7 +418,7 @@ srec_scan (abfd)
*p++ = c;
while ((c = srec_get_byte (abfd, &error)) != EOF
- && ! isspace (c))
+ && ! ISSPACE (c))
{
if ((bfd_size_type) (p - symbuf) >= alc)
{