Locale changes from Bruno Haible <haible@clisp.cons.org>.
[deliverable/binutils-gdb.git] / bfd / cpu-v850.c
index 359c2c42d01205229c743952dc66ebd4f47e1ed1..8836362026634aee0717d71e5ac1cba9b9081a00 100644 (file)
@@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include "bfd.h"
 #include "sysdep.h"
 #include "libbfd.h"
-
-#include <ctype.h>
+#include "safe-ctype.h"
 
 static boolean scan PARAMS ((const struct bfd_arch_info *, const char *));
 
@@ -59,7 +58,7 @@ scan (info, string)
     return info->the_default;
 
   number = 0;
-  while (isdigit ((unsigned char) *ptr_src))
+  while (ISDIGIT (*ptr_src))
     {
       number = number * 10 + * ptr_src  - '0';
       ptr_src ++;
This page took 0.02451 seconds and 4 git commands to generate.