summaryrefslogtreecommitdiff
path: root/bfd/cpu-tic4x.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-tic4x.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-tic4x.c')
-rw-r--r--bfd/cpu-tic4x.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/bfd/cpu-tic4x.c b/bfd/cpu-tic4x.c
index 75a8a240c3..2260f70334 100644
--- a/bfd/cpu-tic4x.c
+++ b/bfd/cpu-tic4x.c
@@ -1,5 +1,5 @@
/* bfd back-end for TMS320C[34]x support
- Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 2002 Free Software Foundation, Inc.
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz)
@@ -23,11 +23,11 @@
#include "sysdep.h"
#include "libbfd.h"
-static boolean c4x_scan
+static bfd_boolean c4x_scan
PARAMS ((const struct bfd_arch_info *, const char * ));
-static boolean
+static bfd_boolean
c4x_scan (info, string)
const struct bfd_arch_info *info;
const char *string;
@@ -39,14 +39,14 @@ c4x_scan (info, string)
if (*string == 'C' || *string == 'c')
string++;
if (string[1] < '0' && string[1] > '9')
- return false;
+ return FALSE;
if (*string == '3')
return (info->mach == bfd_mach_c3x);
else if (*string == '4')
return info->mach == bfd_mach_c4x;
- return false;
+ return FALSE;
}
@@ -60,8 +60,8 @@ const bfd_arch_info_type bfd_tic3x_arch =
"c3x", /* Architecture name. */
"tms320c3x", /* Printable name. */
0, /* Alignment power. */
- false, /* Not the default architecture. */
- bfd_default_compatible,
+ FALSE, /* Not the default architecture. */
+ bfd_default_compatible,
c4x_scan,
0
};
@@ -76,8 +76,8 @@ const bfd_arch_info_type bfd_tic4x_arch =
"c4x", /* Architecture name. */
"tms320c4x", /* Printable name. */
0, /* Alignment power. */
- true, /* The default architecture. */
- bfd_default_compatible,
+ TRUE, /* The default architecture. */
+ bfd_default_compatible,
c4x_scan,
&bfd_tic3x_arch,
};