summaryrefslogtreecommitdiff
path: root/source3/libsmb/smberr.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/smberr.c')
-rw-r--r--source3/libsmb/smberr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libsmb/smberr.c b/source3/libsmb/smberr.c
index 8c4c5f36cb..1156a9d75d 100644
--- a/source3/libsmb/smberr.c
+++ b/source3/libsmb/smberr.c
@@ -40,7 +40,7 @@ typedef const struct
} err_code_struct;
/* Dos Error Messages */
-err_code_struct dos_msgs[] = {
+static err_code_struct dos_msgs[] = {
{"ERRbadfunc",ERRbadfunc,"Invalid function."},
{"ERRbadfile",ERRbadfile,"File not found."},
{"ERRbadpath",ERRbadpath,"Directory invalid."},
@@ -79,7 +79,7 @@ err_code_struct dos_msgs[] = {
{NULL,-1,NULL}};
/* Server Error Messages */
-err_code_struct server_msgs[] = {
+static err_code_struct server_msgs[] = {
{"ERRerror",1,"Non-specific error code."},
{"ERRbadpw",2,"Bad password - name/password pair in a Tree Connect or Session Setup are invalid."},
{"ERRbadtype",3,"reserved."},
@@ -115,7 +115,7 @@ err_code_struct server_msgs[] = {
{NULL,-1,NULL}};
/* Hard Error Messages */
-err_code_struct hard_msgs[] = {
+static err_code_struct hard_msgs[] = {
{"ERRnowrite",19,"Attempt to write on write-protected diskette."},
{"ERRbadunit",20,"Unknown unit."},
{"ERRnotready",21,"Drive not ready."},
@@ -137,7 +137,7 @@ err_code_struct hard_msgs[] = {
{NULL,-1,NULL}};
-const struct
+static const struct
{
int code;
const char *e_class;