aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cip.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.mathieson@keysight.com>2021-02-14 15:36:32 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2021-02-14 19:42:01 +0000
commit0cf834f9097203942cac5b6f4c0c651653783d55 (patch)
tree49a3edc0a6fea65be84e258160095c42d758f203 /epan/dissectors/packet-cip.c
parente727d6f8385b2ab8c40915cb433531067f9532c5 (diff)
Make some more variables and functions static.
Diffstat (limited to 'epan/dissectors/packet-cip.c')
-rw-r--r--epan/dissectors/packet-cip.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-cip.c b/epan/dissectors/packet-cip.c
index 6fb338a341..580be7723b 100644
--- a/epan/dissectors/packet-cip.c
+++ b/epan/dissectors/packet-cip.c
@@ -1369,7 +1369,7 @@ static const value_string cip_pccc_es_st_vals[] = {
{ 0, NULL }
};
-value_string_ext cip_pccc_es_st_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_es_st_vals);
+static value_string_ext cip_pccc_es_st_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_es_st_vals);
/* Translate PCCC Function Codes */
static const value_string cip_pccc_fnc_06_vals[] = {
@@ -1388,7 +1388,7 @@ static const value_string cip_pccc_fnc_06_vals[] = {
{ 0, NULL }
};
-value_string_ext cip_pccc_fnc_06_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_fnc_06_vals);
+static value_string_ext cip_pccc_fnc_06_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_fnc_06_vals);
static const value_string cip_pccc_fnc_07_vals[] = {
{ PCCC_FNC_07_00, "Disable outputs" },
@@ -1401,7 +1401,7 @@ static const value_string cip_pccc_fnc_07_vals[] = {
{ 0, NULL }
};
-value_string_ext cip_pccc_fnc_07_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_fnc_07_vals);
+static value_string_ext cip_pccc_fnc_07_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_fnc_07_vals);
static const value_string cip_pccc_fnc_0f_vals[] = {
{ PCCC_FNC_0F_00, "Word range write" },
@@ -1448,7 +1448,7 @@ static const value_string cip_pccc_fnc_0f_vals[] = {
{ 0, NULL }
};
-value_string_ext cip_pccc_fnc_0f_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_fnc_0f_vals);
+static value_string_ext cip_pccc_fnc_0f_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_fnc_0f_vals);
/* Translate PCCC File Types */
static const value_string cip_pccc_file_types_vals[] = {
@@ -1480,7 +1480,7 @@ static const value_string cip_pccc_file_types_vals[] = {
{ 0, NULL }
};
-value_string_ext cip_pccc_file_type_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_file_types_vals);
+static value_string_ext cip_pccc_file_type_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_file_types_vals);
/* Translate PCCC CPU Modes */
#if 0
@@ -1504,7 +1504,7 @@ static const value_string cip_pccc_cpu_mode_80_vals[] = {
{ 0, NULL }
};
-value_string_ext cip_pccc_cpu_mode_80_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_cpu_mode_80_vals);
+static value_string_ext cip_pccc_cpu_mode_80_vals_ext = VALUE_STRING_EXT_INIT(cip_pccc_cpu_mode_80_vals);
/* Translate Vendor IDs */
static const value_string cip_vendor_vals[] = {
@@ -2900,7 +2900,7 @@ const value_string cip_class_names_vals[] = {
{ 0, NULL }
};
-const value_string cip_id_state_vals[] = {
+static const value_string cip_id_state_vals[] = {
{ 0, "Nonexistent" },
{ 1, "Device Self Testing" },
{ 2, "Standby" },
@@ -2911,7 +2911,7 @@ const value_string cip_id_state_vals[] = {
{ 0, NULL }
};
-const range_string cip_port_type_vals[] = {
+static const range_string cip_port_type_vals[] = {
{ 0, 0, "Any - no routing" },
{ 1, 1, "Reserved for legacy use" },
{ 2, 2, "ControlNet" },