diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-14 23:51:52 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-14 23:51:52 +0000 |
commit | 337de6d8863368f51251e91d0250b909ba8145a4 (patch) | |
tree | 5f2def988c53bab44c39a876810d0419fb41d72b /epan/dissectors/packet-ncp.c | |
parent | 1ed6645362b1a65d313ca1357a6022890c005502 (diff) |
Use const with value_string array definitions
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26028 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ncp.c')
-rw-r--r-- | epan/dissectors/packet-ncp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ncp.c b/epan/dissectors/packet-ncp.c index 0f5978a2f1..368c05b073 100644 --- a/epan/dissectors/packet-ncp.c +++ b/epan/dissectors/packet-ncp.c @@ -173,7 +173,7 @@ static const value_string burst_command[] = { */ -static value_string ncp_type_vals[] = { +static const value_string ncp_type_vals[] = { { NCP_ALLOCATE_SLOT, "Create a service connection" }, { NCP_SERVICE_REQUEST, "Service request" }, { NCP_SERVICE_REPLY, "Service reply" }, @@ -186,7 +186,7 @@ static value_string ncp_type_vals[] = { { 0, NULL } }; -static value_string ncp_oplock_vals[] = { +static const value_string ncp_oplock_vals[] = { { 0x21, "Message Waiting" }, { 0x24, "Clear Op-lock" }, { 0, NULL } |