summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/smbutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcpdump/smbutil.c')
-rw-r--r--contrib/tcpdump/smbutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tcpdump/smbutil.c b/contrib/tcpdump/smbutil.c
index ba7ec31..5eadb4f 100644
--- a/contrib/tcpdump/smbutil.c
+++ b/contrib/tcpdump/smbutil.c
@@ -900,7 +900,7 @@ static const err_code_struct dos_msgs[] = {
};
/* Server Error Messages */
-err_code_struct server_msgs[] = {
+static const 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." },
@@ -937,7 +937,7 @@ err_code_struct server_msgs[] = {
};
/* Hard Error Messages */
-err_code_struct hard_msgs[] = {
+static const err_code_struct hard_msgs[] = {
{ "ERRnowrite", 19, "Attempt to write on write-protected diskette." },
{ "ERRbadunit", 20, "Unknown unit." },
{ "ERRnotready", 21, "Drive not ready." },
OpenPOWER on IntegriCloud