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-tic4x.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-tic4x.c')
-rw-r--r-- | bfd/cpu-tic4x.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bfd/cpu-tic4x.c b/bfd/cpu-tic4x.c index 75a8a24..2260f70 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, }; |