} 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."},
{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."},
{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."},
{NULL,-1,NULL}};
-const struct
+static const struct
{
int code;
const char *e_class;