aboutsummaryrefslogtreecommitdiff
path: root/gmon
diff options
context:
space:
mode:
Diffstat (limited to 'gmon')
-rw-r--r--gmon/sys/gmon_out.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gmon/sys/gmon_out.h b/gmon/sys/gmon_out.h
index c02362b..94e815d 100644
--- a/gmon/sys/gmon_out.h
+++ b/gmon/sys/gmon_out.h
@@ -25,12 +25,16 @@
a sequence of records. Each record starts with a one-byte tag
identifying the type of records, followed by records specific data. */
-#ifndef _SYS_GMON_OUT_H_
-#define _SYS_GMON_OUT_H_
+#ifndef _SYS_GMON_OUT_H
+
+#define _SYS_GMON_OUT_H 1
+#include <features.h>
#define GMON_MAGIC "gmon" /* magic cookie */
#define GMON_VERSION 1 /* version number */
+__BEGIN_DECLS
+
/*
* Raw header as it appears on file (without padding). This header
* always comes first in gmon.out and is then followed by a series
@@ -62,4 +66,6 @@ struct gmon_cg_arc_record {
int count; /* number of arc traversals */
};
-#endif /* !_SYS_GMON_OUT_H_ */
+__END_DECLS
+
+#endif /* _SYS_GMON_OUT_H */