summaryrefslogtreecommitdiff
path: root/gprof/gprof.h
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/gprof.h
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/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 07ca5f0e1d..567ebd2d5c 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));