summaryrefslogtreecommitdiff
path: root/sal/osl/w32/file_error.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/w32/file_error.cxx')
-rw-r--r--sal/osl/w32/file_error.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/osl/w32/file_error.cxx b/sal/osl/w32/file_error.cxx
index 27b0f90cbd2d..c9f8b8a3cc3e 100644
--- a/sal/osl/w32/file_error.cxx
+++ b/sal/osl/w32/file_error.cxx
@@ -20,6 +20,8 @@
#include "file_error.hxx"
#include <winerror.h>
+namespace {
+
/* OS error to oslFileError values mapping table */
struct osl_file_error_entry
{
@@ -27,6 +29,8 @@ struct osl_file_error_entry
int errnocode; /* oslFileError code */
};
+}
+
static const struct osl_file_error_entry errtable[] = {
{ ERROR_SUCCESS, osl_File_E_None }, /* 0 */
{ ERROR_INVALID_FUNCTION, osl_File_E_INVAL }, /* 1 */