summaryrefslogtreecommitdiff
path: root/bfd/cpu-h8300.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-11-30 08:39:46 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-11-30 08:39:46 +0000
commit21bd0c8d7a860a284f4f85a72fc26721ec87aedd (patch)
tree9a0470dbae9d01002a20b39e95a68f81bb4eaaa8 /bfd/cpu-h8300.c
parentfdb71d9a52a1eaa32d8b51672f63abe50896d4a0 (diff)
downloadbinutils-redhat-21bd0c8d7a860a284f4f85a72fc26721ec87aedd.tar.gz
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.c20
1 files changed, 10 insertions, 10 deletions
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