From 21bd0c8d7a860a284f4f85a72fc26721ec87aedd Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 30 Nov 2002 08:39:46 +0000 Subject: s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify comparisons of bfd_boolean vars with TRUE/FALSE. Formatting. --- bfd/cpu-h8300.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'bfd/cpu-h8300.c') diff --git a/bfd/cpu-h8300.c b/bfd/cpu-h8300.c index 10ca3fdfc2..eafcb9806d 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 -- cgit v1.2.1