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 /gprof/basic_blocks.c | |
parent | 583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff) | |
download | binutils-b34976b65aea8f33690229600bbf4527ec3118e1.zip binutils-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz binutils-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 'gprof/basic_blocks.c')
-rw-r--r-- | gprof/basic_blocks.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c index 74f29a0..a37ca0b 100644 --- a/gprof/basic_blocks.c +++ b/gprof/basic_blocks.c @@ -38,7 +38,7 @@ static void fskip_string PARAMS ((FILE *)); static void annotate_with_count PARAMS ((char *, unsigned int, int, PTR)); /* Default option values: */ -boolean bb_annotate_all_lines = false; +bfd_boolean bb_annotate_all_lines = FALSE; unsigned long bb_min_calls = 1; int bb_table_length = 10; @@ -150,8 +150,8 @@ bb_read_rec (ifp, 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); @@ -193,11 +193,11 @@ bb_read_rec (ifp, filename) } else { - static boolean user_warned = false; + static bfd_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); @@ -262,7 +262,7 @@ print_exec_counts () unsigned int i, j, len; if (first_output) - first_output = false; + first_output = FALSE; else printf ("\f\n"); |