summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/errno.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/errno.cc')
-rw-r--r--winsup/cygwin/errno.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc
index d37f7c337..13c0c7705 100644
--- a/winsup/cygwin/errno.cc
+++ b/winsup/cygwin/errno.cc
@@ -290,12 +290,12 @@ const NO_COPY char __declspec(dllexport) * const _sys_errlist[]=
/* ENOTSUP 134 */ "134",
/* ENOMEDIUM 135 */ "no medium",
/* ENOSHARE 136 */ "No such host or network path",
-/* ECASECLASH 137 */ "Filename exists with different case"
-/* EILSEQ 138 */ "Illegal byte sequence"
+/* ECASECLASH 137 */ "Filename exists with different case",
+/* EILSEQ 138 */ "Illegal byte sequence",
/* EOVERFLOW 139 */ "Value too large for defined data type"
};
-extern int const NO_COPY __declspec(dllexport) _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);
+int NO_COPY __declspec(dllexport) _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);
};
/* FIXME: Why is strerror() a long switch and not just: