]> git.lyx.org Git - lyx.git/blobdiff - src/os2_errortable.h
fix "make dist" target
[lyx.git] / src / os2_errortable.h
index 997f55dbc530f5a2d02b5ccc3f1098dd024fdd58..474091a1eedc3e068ef5e6b6bd736e3e24e2f73d 100644 (file)
@@ -17,7 +17,9 @@
 #include <cerrno>
 //#endif
 
-static unsigned char const errno_tab[] =
+namespace {
+
+unsigned char const errno_tab[] =
 {
   EINVAL, EINVAL, ENOENT, ENOENT, EMFILE,  /* 0..4 */
   EACCES, EBADF,  EIO,    ENOMEM, EIO,     /* 5..9 */
@@ -88,6 +90,9 @@ static unsigned char const errno_tab[] =
   EACCES, EACCES, EACCES, ENOENT, ENOMEM   /* 330..334 */
 };
 
+} // namespace anon
+
+
 inline
 int TranslateOS2Error(unsigned long rc)
 {