aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorGuillaume Munch-Maccagnoni2019-12-12 15:48:09 +0100
committerMaxime Dénès2019-12-17 14:50:30 +0100
commit1429ec3e542b0a35ec94e085ec22b81b653458b6 (patch)
tree3fa79cb5dd10ba3b051530b611c6a2e8863a5d01 /kernel
parent7cf4ba4026e8ffd27684a9685b2972f30d2308de (diff)
[VM] fix volatile declaration
Diffstat (limited to 'kernel')
-rw-r--r--kernel/byterun/coq_interp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/byterun/coq_interp.c b/kernel/byterun/coq_interp.c
index b78643e226..754b977f89 100644
--- a/kernel/byterun/coq_interp.c
+++ b/kernel/byterun/coq_interp.c
@@ -205,8 +205,8 @@ if (sp - num_args < coq_stack_threshold) { \
/* For signal handling, we hijack some code from the caml runtime */
-extern intnat caml_signals_are_pending;
-extern intnat caml_pending_signals[];
+extern intnat volatile caml_signals_are_pending;
+extern intnat volatile caml_pending_signals[];
extern void caml_process_pending_signals(void);
/* The interpreter itself */