Tidy up formatting in bfd-in2.h
[deliverable/binutils-gdb.git] / bfd / archures.c
index 1a7ecbf5e71e1c66914b0acae0f783a717fa9f98..19d862ed79260124363ffbb90ccd23e7a2ea5846 100644 (file)
@@ -23,7 +23,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"
 
 /*
 
@@ -258,6 +258,9 @@ DESCRIPTION
 .#define bfd_mach_s390_esa      0
 .#define bfd_mach_s390_esame    1
 .  bfd_arch_openrisc,  {* OpenRISC *}
+.  bfd_arch_mmix,      {* Donald Knuth's educational processor *}
+.  bfd_arch_xstormy16,
+.#define bfd_mach_xstormy16    0
 .  bfd_arch_last
 .  };
 */
@@ -336,6 +339,8 @@ extern const bfd_arch_info_type bfd_avr_arch;
 extern const bfd_arch_info_type bfd_ia64_arch;
 extern const bfd_arch_info_type bfd_s390_arch;
 extern const bfd_arch_info_type bfd_openrisc_arch;
+extern const bfd_arch_info_type bfd_mmix_arch;
+extern const bfd_arch_info_type bfd_xstormy16_arch;
 
 static const bfd_arch_info_type * const bfd_archures_list[] = {
 #ifdef SELECT_ARCHITECTURES
@@ -383,6 +388,8 @@ static const bfd_arch_info_type * const bfd_archures_list[] = {
   &bfd_ia64_arch,
   &bfd_s390_arch,
   &bfd_openrisc_arch,
+  &bfd_mmix_arch,
+  &bfd_xstormy16_arch,
 #endif
   0
 };
@@ -813,7 +820,7 @@ bfd_default_scan (info, string)
     }
 
   number = 0;
-  while (isdigit ((unsigned char) *ptr_src))
+  while (ISDIGIT (*ptr_src))
     {
       number = number * 10 + *ptr_src - '0';
       ptr_src++;
This page took 0.025829 seconds and 4 git commands to generate.