summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/errormap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/errormap.c')
-rw-r--r--source3/libsmb/errormap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index a4a5a8741e3..c30db3ad95f 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -43,7 +43,7 @@
*/
/* NT status -> dos error map */
-static struct {
+const static struct {
uint8 dos_class;
uint32 dos_code;
NTSTATUS ntstatus;
@@ -609,7 +609,7 @@ static struct {
/* dos -> nt status error map */
-static struct {
+const static struct {
uint8 dos_class;
uint32 dos_code;
NTSTATUS ntstatus;
@@ -864,7 +864,7 @@ static struct {
};
/* errmap NTSTATUS->Win32 */
-static struct {
+const static struct {
NTSTATUS ntstatus;
WERROR werror;
} ntstatus_to_werror_map[] = {