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
commit1bbb2b5590641fe8700c42893532b1f038e2dc1a (patch)
tree58e95643197bad1009172e001e37a90acdb234e0 /bfd/cpu-tic4x.c
parent2d28de53382e7fc3e21c82f77c3212f6b8fa84f9 (diff)
downloadgdb-1bbb2b5590641fe8700c42893532b1f038e2dc1a.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 75a8a240c38..2260f703343 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,
};