diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-11-26 03:09:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-11-26 03:09:40 +0000 |
commit | 3784eec708747d62845dad58fd66361a60f5b11a (patch) | |
tree | 0c244d7a4ff38a516d09bb27c1d6eb61d453e2ec /epan | |
parent | b95c767299ecdeec1a7b56d234a05e081bd2ec3d (diff) |
Get rid of unused global variables.
svn path=/trunk/; revision=16601
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-tcap.c | 17 | ||||
-rw-r--r-- | epan/dissectors/packet-tcap.h | 2 |
2 files changed, 7 insertions, 12 deletions
diff --git a/epan/dissectors/packet-tcap.c b/epan/dissectors/packet-tcap.c index 771adc5724..76b532fa9d 100644 --- a/epan/dissectors/packet-tcap.c +++ b/epan/dissectors/packet-tcap.c @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Ethereal dissector compiler */ -/* .\packet-tcap.c */ +/* ./packet-tcap.c */ /* ../../tools/asn2eth.py -X -b -e -p tcap -c tcap.cnf -s packet-tcap-template tcap.asn */ /* Input file: packet-tcap-template.c */ @@ -257,11 +257,6 @@ static gint ett_tcap_ErrorCode = -1; static range_t *global_ssn_range; static range_t *ssn_range; -static packet_info *g_pinfo = NULL; -static proto_tree *g_tcap_tree = NULL; -static gboolean g_tcap_ends_def_len = FALSE; - - dissector_handle_t tcap_handle; static dissector_table_t ber_oid_dissector_table=NULL; static const char * cur_oid; @@ -2488,11 +2483,11 @@ proto_register_tcap(void) "Component/returnResultNotLast", HFILL }}, { &hf_tcap_invokeID, { "invokeID", "tcap.invokeID", - FT_UINT32, BASE_DEC, NULL, 0, + FT_INT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_tcap_linkedID, { "linkedID", "tcap.linkedID", - FT_UINT32, BASE_DEC, NULL, 0, + FT_INT32, BASE_DEC, NULL, 0, "Invoke/linkedID", HFILL }}, { &hf_tcap_opCode, { "opCode", "tcap.opCode", @@ -2516,7 +2511,7 @@ proto_register_tcap(void) "Reject/invokeIDRej", HFILL }}, { &hf_tcap_derivable, { "derivable", "tcap.derivable", - FT_UINT32, BASE_DEC, NULL, 0, + FT_INT32, BASE_DEC, NULL, 0, "Reject/invokeIDRej/derivable", HFILL }}, { &hf_tcap_not_derivable, { "not-derivable", "tcap.not_derivable", @@ -2768,7 +2763,7 @@ proto_register_tcap(void) "RejectPDU/parameterrj", HFILL }}, { &hf_tcap_national, { "national", "tcap.national", - FT_UINT32, BASE_DEC, NULL, 0, + FT_INT32, BASE_DEC, NULL, 0, "OperationCode/national", HFILL }}, { &hf_tcap_private, { "private", "tcap.private", @@ -2776,7 +2771,7 @@ proto_register_tcap(void) "OperationCode/private", HFILL }}, { &hf_tcap_nationaler, { "nationaler", "tcap.nationaler", - FT_UINT32, BASE_DEC, NULL, 0, + FT_INT32, BASE_DEC, NULL, 0, "ErrorCode/nationaler", HFILL }}, { &hf_tcap_privateer, { "privateer", "tcap.privateer", diff --git a/epan/dissectors/packet-tcap.h b/epan/dissectors/packet-tcap.h index bcae96da9b..fb328fcabc 100644 --- a/epan/dissectors/packet-tcap.h +++ b/epan/dissectors/packet-tcap.h @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Ethereal dissector compiler */ -/* .\packet-tcap.h */ +/* ./packet-tcap.h */ /* ../../tools/asn2eth.py -X -b -e -p tcap -c tcap.cnf -s packet-tcap-template tcap.asn */ /* Input file: packet-tcap-template.h */ |