diff options
-rw-r--r-- | asn1/camel/packet-camel-template.c | 2 | ||||
-rw-r--r-- | asn1/gsmmap/packet-gsm_map-template.c | 18 | ||||
-rw-r--r-- | epan/dissectors/packet-camel.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-camel.h | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-gsm_map.c | 20 | ||||
-rw-r--r-- | epan/dissectors/packet-gsm_map.h | 2 |
6 files changed, 24 insertions, 24 deletions
diff --git a/asn1/camel/packet-camel-template.c b/asn1/camel/packet-camel-template.c index 945bb1339d..572ec54ebe 100644 --- a/asn1/camel/packet-camel-template.c +++ b/asn1/camel/packet-camel-template.c @@ -86,7 +86,7 @@ dissector_handle_t camel_handle; /* Global variables */ -int application_context_version; +static int application_context_version; static int dissect_invokeCmd(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset); diff --git a/asn1/gsmmap/packet-gsm_map-template.c b/asn1/gsmmap/packet-gsm_map-template.c index de4e483b61..a1176bd14c 100644 --- a/asn1/gsmmap/packet-gsm_map-template.c +++ b/asn1/gsmmap/packet-gsm_map-template.c @@ -108,7 +108,7 @@ dissector_handle_t map_handle; /* Global variables */ static proto_tree *top_tree; -int application_context_version; +static int application_context_version; gint protocolId; static int gsm_map_tap = -1; @@ -928,15 +928,15 @@ static guint8 gsm_map_pdu_size = 0; static int dissect_gsm_map_GSMMAPPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo , proto_tree *tree, int hf_index) { - char *version_ptr, *version_str; + char *version_ptr, *version_str; - opcode = 0; - application_context_version = 0; - if (pinfo->private_data != NULL){ - version_ptr = strrchr(pinfo->private_data,'.'); - version_str = g_strdup(version_ptr+1); - application_context_version = atoi(version_str); - } + opcode = 0; + application_context_version = 0; + if (pinfo->private_data != NULL){ + version_ptr = strrchr(pinfo->private_data,'.'); + version_str = g_strdup(version_ptr+1); + application_context_version = atoi(version_str); + } gsmmap_pdu_type = tvb_get_guint8(tvb, offset)&0x0f; /* Get the length and add 2 */ diff --git a/epan/dissectors/packet-camel.c b/epan/dissectors/packet-camel.c index c0c064db08..5c917c1832 100644 --- a/epan/dissectors/packet-camel.c +++ b/epan/dissectors/packet-camel.c @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Ethereal dissector compiler */ -/* .\packet-camel.c */ +/* ./packet-camel.c */ /* ../../tools/asn2eth.py -X -b -e -p camel -c camel.cnf -s packet-camel-template camel.asn */ /* Input file: packet-camel-template.c */ @@ -617,7 +617,7 @@ dissector_handle_t camel_handle; /* Global variables */ -int application_context_version; +static int application_context_version; static int dissect_invokeCmd(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset); diff --git a/epan/dissectors/packet-camel.h b/epan/dissectors/packet-camel.h index 82f2b367fd..e5eff6a00a 100644 --- a/epan/dissectors/packet-camel.h +++ b/epan/dissectors/packet-camel.h @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Ethereal dissector compiler */ -/* .\packet-camel.h */ +/* ./packet-camel.h */ /* ../../tools/asn2eth.py -X -b -e -p camel -c camel.cnf -s packet-camel-template camel.asn */ /* Input file: packet-camel-template.h */ diff --git a/epan/dissectors/packet-gsm_map.c b/epan/dissectors/packet-gsm_map.c index c68cf4d27c..262eab02d6 100644 --- a/epan/dissectors/packet-gsm_map.c +++ b/epan/dissectors/packet-gsm_map.c @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Ethereal dissector compiler */ -/* .\packet-gsm_map.c */ +/* ./packet-gsm_map.c */ /* ../../tools/asn2eth.py -X -b -e -p gsm_map -c gsmmap.cnf -s packet-gsm_map-template GSMMAP.asn */ /* Input file: packet-gsm_map-template.c */ @@ -1108,7 +1108,7 @@ dissector_handle_t map_handle; /* Global variables */ static proto_tree *top_tree; -int application_context_version; +static int application_context_version; gint protocolId; static int gsm_map_tap = -1; @@ -11198,15 +11198,15 @@ static guint8 gsm_map_pdu_size = 0; static int dissect_gsm_map_GSMMAPPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo , proto_tree *tree, int hf_index) { - char *version_ptr, *version_str; + char *version_ptr, *version_str; - opcode = 0; - application_context_version = 0; - if (pinfo->private_data != NULL){ - version_ptr = strrchr(pinfo->private_data,'.'); - version_str = g_strdup(version_ptr+1); - application_context_version = atoi(version_str); - } + opcode = 0; + application_context_version = 0; + if (pinfo->private_data != NULL){ + version_ptr = strrchr(pinfo->private_data,'.'); + version_str = g_strdup(version_ptr+1); + application_context_version = atoi(version_str); + } gsmmap_pdu_type = tvb_get_guint8(tvb, offset)&0x0f; /* Get the length and add 2 */ diff --git a/epan/dissectors/packet-gsm_map.h b/epan/dissectors/packet-gsm_map.h index 751608d693..88b0583c2c 100644 --- a/epan/dissectors/packet-gsm_map.h +++ b/epan/dissectors/packet-gsm_map.h @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Ethereal dissector compiler */ -/* .\packet-gsm_map.h */ +/* ./packet-gsm_map.h */ /* ../../tools/asn2eth.py -X -b -e -p gsm_map -c gsmmap.cnf -s packet-gsm_map-template GSMMAP.asn */ /* Input file: packet-gsm_map-template.h */ |