aboutsummaryrefslogtreecommitdiff
path: root/gmon
diff options
context:
space:
mode:
Diffstat (limited to 'gmon')
-rw-r--r--gmon/sys/gmon.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/gmon/sys/gmon.h b/gmon/sys/gmon.h
index 5b430ab..b4cc3b0 100644
--- a/gmon/sys/gmon.h
+++ b/gmon/sys/gmon.h
@@ -117,7 +117,7 @@ extern struct __bb *__bb_head;
/*
* The type used to represent indices into gmonparam.tos[].
*/
-#define ARCINDEX u_long
+#define ARCINDEX unsigned long
/*
* Maximum number of arcs we want to allow.
@@ -130,7 +130,7 @@ extern struct __bb *__bb_head;
#define MAXARCS (1 << 20)
struct tostruct {
- u_long selfpc;
+ unsigned long selfpc;
long count;
ARCINDEX link;
};
@@ -140,9 +140,9 @@ struct tostruct {
* the called site and a count.
*/
struct rawarc {
- u_long raw_frompc;
- u_long raw_selfpc;
- long raw_count;
+ unsigned long raw_frompc;
+ unsigned long raw_selfpc;
+ long raw_count;
};
/*
@@ -156,17 +156,17 @@ struct rawarc {
*/
struct gmonparam {
long int state;
- u_short *kcount;
- u_long kcountsize;
+ unsigned short *kcount;
+ unsigned long kcountsize;
ARCINDEX *froms;
- u_long fromssize;
+ unsigned long fromssize;
struct tostruct *tos;
- u_long tossize;
+ unsigned long tossize;
long tolimit;
- u_long lowpc;
- u_long highpc;
- u_long textsize;
- u_long hashfraction;
+ unsigned long lowpc;
+ unsigned long highpc;
+ unsigned long textsize;
+ unsigned long hashfraction;
long log_hashfraction;
};
@@ -190,8 +190,8 @@ struct gmonparam {
__BEGIN_DECLS
/* Set up data structures and start profiling. */
-extern void __monstartup (u_long __lowpc, u_long __highpc) __THROW;
-extern void monstartup (u_long __lowpc, u_long __highpc) __THROW;
+extern void __monstartup (unsigned long __lowpc, unsigned long __highpc) __THROW;
+extern void monstartup (unsigned long __lowpc, unsigned long __highpc) __THROW;
/* Clean up profiling and write out gmon.out. */
extern void _mcleanup (void) __THROW;