summaryrefslogtreecommitdiff
path: root/gprof/cg_arcs.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-02-01 01:18:06 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-02-01 01:18:06 +0000
commit94fc2afd0b062f472732e6b335098d3ea1d028b5 (patch)
treedb245afdf7c51259eb9db9f8461edab59d3330d7 /gprof/cg_arcs.c
parent92cf44c49529b17e6b6b9688779e644327fe6aad (diff)
downloadbinutils-redhat-94fc2afd0b062f472732e6b335098d3ea1d028b5.tar.gz
* basic_blocks.c: Replace bool with boolean, TRUE with true and
FALSE with false 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. * hist.c: Likewise. * mips.c: Likewise. * source.c: Likewise. * source.h: Likewise. * sym_ids.c: Likewise. * sym_ids.h: Likewise. * symtab.h: Likewise. * tahoe.c: Likewise. * vax.c: Likewise. * gprof.h: Likewise. (TRUE): Don't define. (FALSE): Don't define.
Diffstat (limited to 'gprof/cg_arcs.c')
-rw-r--r--gprof/cg_arcs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gprof/cg_arcs.c b/gprof/cg_arcs.c
index 83696310f7..8ebaa7f8f0 100644
--- a/gprof/cg_arcs.c
+++ b/gprof/cg_arcs.c
@@ -291,7 +291,7 @@ DEFUN_VOID (cycle_link)
++num;
++cyc;
sym_init (cyc);
- cyc->cg.print_flag = TRUE; /* should this be printed? */
+ cyc->cg.print_flag = true; /* should this be printed? */
cyc->cg.top_order = DFN_NAN; /* graph call chain top-sort order */
cyc->cg.cyc.num = num; /* internal number of cycle on */
cyc->cg.cyc.head = cyc; /* pointer to head of cycle */
@@ -349,7 +349,7 @@ DEFUN (inherit_flags, (child), Sym * child)
if (child == head)
{
/* just a regular child, check its parents: */
- child->cg.print_flag = FALSE;
+ child->cg.print_flag = false;
child->cg.prop.fract = 0.0;
for (arc = child->cg.parents; arc; arc = arc->next_parent)
{
@@ -377,7 +377,7 @@ DEFUN (inherit_flags, (child), Sym * child)
* Its a member of a cycle, look at all parents from outside
* the cycle.
*/
- head->cg.print_flag = FALSE;
+ head->cg.print_flag = false;
head->cg.prop.fract = 0.0;
for (member = head->cg.cyc.next; member; member = member->cg.cyc.next)
{
@@ -454,7 +454,7 @@ DEFUN (propagate_flags, (symbols), Sym ** symbols)
|| (syms[INCL_GRAPH].len == 0
&& !sym_lookup (&syms[EXCL_GRAPH], child->addr)))
{
- child->cg.print_flag = TRUE;
+ child->cg.print_flag = true;
}
}
else
@@ -467,7 +467,7 @@ DEFUN (propagate_flags, (symbols), Sym ** symbols)
if (!sym_lookup (&syms[INCL_GRAPH], child->addr)
&& sym_lookup (&syms[EXCL_GRAPH], child->addr))
{
- child->cg.print_flag = FALSE;
+ child->cg.print_flag = false;
}
}
if (child->cg.prop.fract == 0.0)
@@ -603,7 +603,7 @@ DEFUN_VOID (cg_assemble)
parent->cg.prop.fract = 0.0;
parent->cg.prop.self = 0.0;
parent->cg.prop.child = 0.0;
- parent->cg.print_flag = FALSE;
+ parent->cg.print_flag = false;
parent->cg.top_order = DFN_NAN;
parent->cg.cyc.num = 0;
parent->cg.cyc.head = parent;