diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-05 16:41:50 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-05 16:41:50 +0000 |
commit | edc9c320098a7474162385452a823cd3069323a0 (patch) | |
tree | 475d48f4022cc7a451ef9f21e7acb83ebcf72f7e /epan/dissectors/packet-ziop.c | |
parent | c2bf7fdcf99a46079f51dc425fcffc609bad5ef3 (diff) |
Remove stuff that's really "non-public" from .h files.
(Include in .c files as needed).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27616 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ziop.c')
-rw-r--r-- | epan/dissectors/packet-ziop.c | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/epan/dissectors/packet-ziop.c b/epan/dissectors/packet-ziop.c index 9828d280e4..999481ea07 100644 --- a/epan/dissectors/packet-ziop.c +++ b/epan/dissectors/packet-ziop.c @@ -67,14 +67,12 @@ * ------------------------------------------------------------------------------------------+ */ - static int proto_ziop = -1; /* * (sub)Tree declares */ - static gint hf_ziop_magic = -1; static gint hf_ziop_giop_version_major = -1; static gint hf_ziop_giop_version_minor = -1; @@ -126,9 +124,9 @@ static const value_string giop_message_types[] = { }; - gboolean ziop_desegment = TRUE; +static void dissect_ziop (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree); static guint get_ziop_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset) @@ -224,17 +222,9 @@ dissect_ziop_heur (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) { } - - - - - - - - - /* Main entry point */ -void dissect_ziop (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) { +static void +dissect_ziop (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) { guint offset = 0; ZIOPHeader header; CompressionData compression_data; @@ -382,10 +372,10 @@ void proto_register_ziop (void) { "ZIOPHeader magic", HFILL }}, { &hf_ziop_giop_version_major, { "Header major version", "ziop.giop_version_major", FT_UINT8, BASE_OCT, NULL, 0x0, - "ZIOPHeader giop_version", HFILL }}, + "ZIOPHeader giop_major_version", HFILL }}, { &hf_ziop_giop_version_minor, { "Header minor version", "ziop.giop_version_minor", FT_UINT8, BASE_OCT, NULL, 0x0, - "ZIOPHeader giop_version", HFILL }}, + "ZIOPHeader giop_minor_version", HFILL }}, { &hf_ziop_flags, { "Header flags", "ziop.flags", FT_UINT8, BASE_OCT, NULL, 0x0, "ZIOPHeader flags", HFILL }}, |