summaryrefslogtreecommitdiff
path: root/src/exit/atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/atexit.c')
-rw-r--r--src/exit/atexit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit/atexit.c b/src/exit/atexit.c
index 89ff4ff3..be827181 100644
--- a/src/exit/atexit.c
+++ b/src/exit/atexit.c
@@ -12,7 +12,7 @@ static struct fl
void *a[COUNT];
} builtin, *head;
-static int lock[2];
+static volatile int lock[2];
void __funcs_on_exit()
{