From b34976b65aea8f33690229600bbf4527ec3118e1 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-tic4x.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'bfd/cpu-tic4x.c') 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, }; -- cgit v1.1