aboutsummaryrefslogtreecommitdiff
path: root/gprof/basic_blocks.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-01 01:18:06 +0000
committerAlan Modra <amodra@gmail.com>2002-02-01 01:18:06 +0000
commitbde52789b2840efede7cba2971d8b174586018fc (patch)
treee8b4ffaad471f45f27e475e24cdf2c7f3d596546 /gprof/basic_blocks.c
parentd874f1e22527c1b95211222c110a137b0f50ec00 (diff)
downloadgdb-bde52789b2840efede7cba2971d8b174586018fc.zip
gdb-bde52789b2840efede7cba2971d8b174586018fc.tar.gz
gdb-bde52789b2840efede7cba2971d8b174586018fc.tar.bz2
* 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/basic_blocks.c')
-rw-r--r--gprof/basic_blocks.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c
index 65a662c..d1bd3f0 100644
--- a/gprof/basic_blocks.c
+++ b/gprof/basic_blocks.c
@@ -33,7 +33,7 @@
#include "sym_ids.h"
/* Default option values: */
-bool bb_annotate_all_lines = FALSE;
+boolean bb_annotate_all_lines = false;
unsigned long bb_min_calls = 1;
int bb_table_length = 10;
@@ -138,8 +138,8 @@ DEFUN (bb_read_rec, (ifp, filename), FILE * ifp AND const char *filename)
care about anymore. */
if ((fread (&ncalls, sizeof (ncalls), 1, ifp) != 1)
|| (fread (&addr, sizeof (addr), 1, ifp) != 1)
- || (fskip_string (ifp), FALSE)
- || (fskip_string (ifp), FALSE)
+ || (fskip_string (ifp), false)
+ || (fskip_string (ifp), false)
|| (fread (&line_num, sizeof (line_num), 1, ifp) != 1))
{
perror (filename);
@@ -181,11 +181,11 @@ DEFUN (bb_read_rec, (ifp, filename), FILE * ifp AND const char *filename)
}
else
{
- static bool user_warned = FALSE;
+ static boolean user_warned = false;
if (!user_warned)
{
- user_warned = TRUE;
+ user_warned = true;
fprintf (stderr,
_("%s: warning: ignoring basic-block exec counts (use -l or --line)\n"),
whoami);
@@ -248,7 +248,7 @@ DEFUN_VOID (print_exec_counts)
int i, j, len;
if (first_output)
- first_output = FALSE;
+ first_output = false;
else
printf ("\f\n");