* include/libiberty.h: Add extern "C" { so it can be used with C++
[deliverable/binutils-gdb.git] / gprof / gprof.h
index 94fee0dff39e0980369846681d94ff3f545dc877..303588cb7144f53efeaddb9dc8f49528ecbbd74b 100644 (file)
 #define gprof_h
 
 #include <ansidecl.h>
+
+/* Include the BFD sysdep.h file.  */
 #include "sysdep.h"
 
+/* Undefine the BFD PACKAGE and VERSION macros before including the
+   gprof config.h file.  */
+#undef PACKAGE
+#undef VERSION
+
+#include "gconfig.h"
+
 #ifndef MIN
 #define MIN(a,b)       ((a) < (b) ? (a) : (b))
 #endif
@@ -79,6 +88,8 @@
 #define STYLE_EXEC_COUNTS      (1<<3)
 #define STYLE_ANNOTATED_SOURCE (1<<4)
 #define STYLE_GMON_INFO                (1<<5)
+#define STYLE_FUNCTION_ORDER   (1<<6)
+#define STYLE_FILE_ORDER       (1<<7)
 
 #define        ANYDEBUG        (1<<0)  /*    1 */
 #define        DFNDEBUG        (1<<1)  /*    2 */
@@ -111,6 +122,7 @@ typedef int bool;
 typedef unsigned char UNIT[2]; /* unit of profiling */
 
 extern const char *whoami;     /* command-name, for error messages */
+extern const char *function_mapping_file; /* file mapping functions to files */
 extern const char *a_out_name; /* core filename */
 extern long hz;                        /* ticks per second */
 
This page took 0.02977 seconds and 4 git commands to generate.