Define a few global variables as static.

svn path=/trunk/; revision=34411
This commit is contained in:
Bill Meier 2010-10-07 21:16:52 +00:00
parent c41f229fdd
commit 54ed1b0bc7
2 changed files with 7 additions and 7 deletions

View File

@ -71,35 +71,35 @@
#define CSM_ENCAPS_TYPE_INDICATION_RESPONSE 0x05
const value_string opcode_vals[] = {
static const value_string opcode_vals[] = {
{ OPCODE_NOOP, "No Operation" },
{ OPCODE_CONTROL_PACKET, "Control Packet" },
{ OPCODE_RELIABLE_DATA, "Reliable Data Transfer" },
{ 0, NULL }
};
const value_string function_code_vals[] = {
static const value_string function_code_vals[] = {
{0x0000, " "},
{ 0, NULL }
};
const value_string class_type_vals[] = {
static const value_string class_type_vals[] = {
{ 0, NULL }
};
const value_string exclusive_to_host_vals[] = {
static const value_string exclusive_to_host_vals[] = {
{ 0, NULL }
};
const value_string exclusive_to_host_ct_vals[] = {
static const value_string exclusive_to_host_ct_vals[] = {
{ 0, NULL }
};
const value_string error_vals[] = {
static const value_string error_vals[] = {
{ 0, NULL }
};

View File

@ -325,7 +325,7 @@ static int hf_replyopenprinter_unk1 = -1;
#define DCERPC_REG_FULL_RESOURCE_DESCRIPTOR 9
#define DCERPC_REG_RESOURCE_REQUIREMENTS_LIST 10
const value_string reg_datatypes[] = {
static const value_string reg_datatypes[] = {
{ DCERPC_REG_NONE, "REG_NONE" },
{ DCERPC_REG_SZ, "REG_SZ" },
{ DCERPC_REG_EXPAND_SZ, "REG_EXPAND_SZ" },