diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
commit | b34976b65aea8f33690229600bbf4527ec3118e1 (patch) | |
tree | 6411348664ef81ca2aa2e3ff325116e6e6502edf /bfd/cpu-h8300.c | |
parent | 583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff) | |
download | gdb-b34976b65aea8f33690229600bbf4527ec3118e1.zip gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.bz2 |
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'bfd/cpu-h8300.c')
-rw-r--r-- | bfd/cpu-h8300.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bfd/cpu-h8300.c b/bfd/cpu-h8300.c index 10ca3fd..eafcb98 100644 --- a/bfd/cpu-h8300.c +++ b/bfd/cpu-h8300.c @@ -23,35 +23,35 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "sysdep.h" #include "libbfd.h" -static boolean h8300_scan +static bfd_boolean h8300_scan PARAMS ((const struct bfd_arch_info *, const char *)); static const bfd_arch_info_type * compatible PARAMS ((const bfd_arch_info_type *, const bfd_arch_info_type *)); -static boolean +static bfd_boolean h8300_scan (info, string) const struct bfd_arch_info *info; const char *string; { if (*string != 'h' && *string != 'H') - return false; + return FALSE; string++; if (*string != '8') - return false; + return FALSE; string++; if (*string == '/') string++; if (*string != '3') - return false; + return FALSE; string++; if (*string != '0') - return false; + return FALSE; string++; if (*string != '0') - return false; + return FALSE; string++; if (*string == '-') string++; @@ -107,7 +107,7 @@ static const bfd_arch_info_type h8300s_info_struct = "h8300s", /* arch_name */ "h8300s", /* printable name */ 1, - false, /* the default machine */ + FALSE, /* the default machine */ compatible, h8300_scan, 0 @@ -123,7 +123,7 @@ static const bfd_arch_info_type h8300h_info_struct = "h8300h", /* arch_name */ "h8300h", /* printable name */ 1, - false, /* the default machine */ + FALSE, /* the default machine */ compatible, h8300_scan, &h8300s_info_struct @@ -139,7 +139,7 @@ const bfd_arch_info_type bfd_h8300_arch = "h8300", /* arch_name */ "h8300", /* printable name */ 1, - true, /* the default machine */ + TRUE, /* the default machine */ compatible, h8300_scan, &h8300h_info_struct |