summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/gmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/gmon.h')
-rw-r--r--winsup/cygwin/gmon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/gmon.h b/winsup/cygwin/gmon.h
index 0932ed94c..b0fb479e2 100644
--- a/winsup/cygwin/gmon.h
+++ b/winsup/cygwin/gmon.h
@@ -153,7 +153,7 @@ struct rawarc {
* The profiling data structures are housed in this structure.
*/
struct gmonparam {
- int state;
+ volatile int state;
u_short *kcount;
size_t kcountsize;
u_short *froms;