aboutsummaryrefslogtreecommitdiff
path: root/gprof/mips.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-03-31 10:29:52 +1030
committerAlan Modra <amodra@gmail.com>2021-03-31 10:49:23 +1030
commitfaa7a26040c617a6d29f601998b99a1da882c672 (patch)
tree704031231af1213b66d56395a5edaa65a043dd0b /gprof/mips.c
parent9193bc4285c232400a26448ca75095c44c13f637 (diff)
downloadbinutils-faa7a26040c617a6d29f601998b99a1da882c672.zip
binutils-faa7a26040c617a6d29f601998b99a1da882c672.tar.gz
binutils-faa7a26040c617a6d29f601998b99a1da882c672.tar.bz2
Use bool in gprof
* basic_blocks.c: Replace bfd_boolean with bool, FALSE with false, and TRUE with true throughout. * basic_blocks.h: Likewise. * cg_arcs.c: Likewise. * cg_dfn.c: Likewise. * cg_print.c: Likewise. * corefile.c: Likewise. * gmon_io.c: Likewise. * gprof.c: Likewise. * gprof.h: Likewise. * hist.c: Likewise. * mips.c: Likewise. * source.c: Likewise. * source.h: Likewise. * sym_ids.c: Likewise. * sym_ids.h: Likewise. * symtab.h: Likewise. * vax.c: Likewise.
Diffstat (limited to 'gprof/mips.c')
-rw-r--r--gprof/mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/mips.c b/gprof/mips.c
index 2de87cf..e198a6f 100644
--- a/gprof/mips.c
+++ b/gprof/mips.c
@@ -45,11 +45,11 @@ mips_find_call (Sym *parent, bfd_vma p_lowpc, bfd_vma p_highpc)
unsigned int op;
int offset;
Sym *child;
- static bfd_boolean inited = FALSE;
+ static bool inited = false;
if (!inited)
{
- inited = TRUE;
+ inited = true;
sym_init (&indirect_child);
indirect_child.name = _("<indirect child>");
indirect_child.cg.prop.fract = 1.0;