aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.h
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/gprof.h
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/gprof.h')
-rw-r--r--gprof/gprof.h42
1 files changed, 16 insertions, 26 deletions
diff --git a/gprof/gprof.h b/gprof/gprof.h
index 07ca5f0..567ebd2 100644
--- a/gprof/gprof.h
+++ b/gprof/gprof.h
@@ -62,16 +62,6 @@
#include "bin-bugs.h"
-/*
- * These may already be defined on some systems. We could probably
- * just use the BFD versions of these, since BFD has already dealt
- * with this problem.
- */
-#undef FALSE
-#define FALSE 0
-#undef TRUE
-#define TRUE 1
-
#define STYLE_FLAT_PROFILE (1<<0)
#define STYLE_CALL_GRAPH (1<<1)
#define STYLE_SUMMARY_FILE (1<<2)
@@ -118,23 +108,23 @@ extern long hz; /* ticks per second */
/*
* Command-line options:
*/
-extern int debug_level; /* debug level */
+extern int debug_level; /* debug level */
extern int output_style;
-extern int output_width; /* controls column width in index */
-extern bool bsd_style_output; /* as opposed to FSF style output */
-extern bool demangle; /* demangle symbol names? */
-extern bool discard_underscores; /* discard leading underscores? */
-extern bool ignore_direct_calls; /* don't count direct calls */
-extern bool ignore_static_funcs; /* suppress static functions */
-extern bool ignore_zeros; /* ignore unused symbols/files */
-extern bool line_granularity; /* function or line granularity? */
-extern bool print_descriptions; /* output profile description */
-extern bool print_path; /* print path or just filename? */
-extern bool ignore_non_functions;/* Ignore non-function symbols. */
-
-extern File_Format file_format; /* requested file format */
-
-extern bool first_output; /* no output so far? */
+extern int output_width; /* controls column width in index */
+extern boolean bsd_style_output; /* as opposed to FSF style output */
+extern boolean demangle; /* demangle symbol names? */
+extern boolean discard_underscores; /* discard leading underscores? */
+extern boolean ignore_direct_calls; /* don't count direct calls */
+extern boolean ignore_static_funcs; /* suppress static functions */
+extern boolean ignore_zeros; /* ignore unused symbols/files */
+extern boolean line_granularity; /* function or line granularity? */
+extern boolean print_descriptions; /* output profile description */
+extern boolean print_path; /* print path or just filename? */
+extern boolean ignore_non_functions; /* Ignore non-function symbols. */
+
+extern File_Format file_format; /* requested file format */
+
+extern boolean first_output; /* no output so far? */
extern void done PARAMS ((int status));