summaryrefslogtreecommitdiff
path: root/otherlibs/unix/lockf_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/lockf_unix.c')
-rw-r--r--otherlibs/unix/lockf_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/lockf_unix.c b/otherlibs/unix/lockf_unix.c
index 43796c71a2..371e26fad2 100644
--- a/otherlibs/unix/lockf_unix.c
+++ b/otherlibs/unix/lockf_unix.c
@@ -96,7 +96,7 @@ CAMLprim value caml_unix_lockf(value fd, value cmd, value span)
#define F_TEST 3
#endif
-static int lock_command_table[] = {
+static const int lock_command_table[] = {
F_ULOCK, F_LOCK, F_TLOCK, F_TEST, F_LOCK, F_TLOCK
};