summaryrefslogtreecommitdiff
path: root/otherlibs/unix/unixsupport_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/unixsupport_unix.c')
-rw-r--r--otherlibs/unix/unixsupport_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/unixsupport_unix.c b/otherlibs/unix/unixsupport_unix.c
index 449af8b5c2..0d50e246b2 100644
--- a/otherlibs/unix/unixsupport_unix.c
+++ b/otherlibs/unix/unixsupport_unix.c
@@ -242,7 +242,7 @@
#define EOVERFLOW (-1)
#endif
-static int error_table[] = {
+static const int error_table[] = {
E2BIG, EACCES, EAGAIN, EBADF, EBUSY, ECHILD, EDEADLK, EDOM,
EEXIST, EFAULT, EFBIG, EINTR, EINVAL, EIO, EISDIR, EMFILE, EMLINK,
ENAMETOOLONG, ENFILE, ENODEV, ENOENT, ENOEXEC, ENOLCK, ENOMEM, ENOSPC,