aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btavdtp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-02 21:06:07 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-02 21:06:07 +0000
commit3b7f6f0e5f5abf75a944b49745441a9565e70c0a (patch)
tree8c3653e05f9da419dd02bfb2f81394f8e83d6847 /epan/dissectors/packet-btavdtp.c
parentcc19763433090af52dde7ccb656aff6cd5238c26 (diff)
Partially revert r53052 because hf_ fields aren't defined (or used)
svn path=/trunk/; revision=53054
Diffstat (limited to 'epan/dissectors/packet-btavdtp.c')
-rw-r--r--epan/dissectors/packet-btavdtp.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btavdtp.c b/epan/dissectors/packet-btavdtp.c
index 0386feebfa..a316080297 100644
--- a/epan/dissectors/packet-btavdtp.c
+++ b/epan/dissectors/packet-btavdtp.c
@@ -2088,7 +2088,7 @@ void
proto_register_bta2dp(void)
{
module_t *module;
-
+#if 0
static hf_register_info hf[] = {
{ &hf_bta2dp_codec,
{ "Codec", "bta2dp.codec",
@@ -2101,13 +2101,16 @@ proto_register_bta2dp(void)
NULL, HFILL }
}
};
+#endif
static gint *ett[] = {
&ett_bta2dp
};
proto_bta2dp = proto_register_protocol("Bluetooth A2DP Profile", "BT A2DP", "bta2dp");
+#if 0
proto_register_field_array(proto_bta2dp, hf, array_length(hf));
+#endif
proto_register_subtree_array(ett, array_length(ett));
new_register_dissector("bta2dp", dissect_bta2dp, proto_bta2dp);
@@ -2216,6 +2219,7 @@ proto_register_btvdp(void)
module_t *module;
expert_module_t* expert_btavdtp;
+#if 0
static hf_register_info hf[] = {
{ &hf_btvdp_codec,
{ "Codec", "btvdp.codec",
@@ -2228,6 +2232,7 @@ proto_register_btvdp(void)
NULL, HFILL }
}
};
+#endif
static gint *ett[] = {
&ett_btvdp
@@ -2241,7 +2246,9 @@ proto_register_btvdp(void)
proto_btvdp = proto_register_protocol("Bluetooth VDP Profile", "BT VDP", "btvdp");
new_register_dissector("btvdp", dissect_btvdp, proto_btvdp);
+#if 0
proto_register_field_array(proto_bta2dp, hf, array_length(hf));
+#endif
proto_register_subtree_array(ett, array_length(ett));
expert_btavdtp = expert_register_protocol(proto_btvdp);
expert_register_field_array(expert_btavdtp, ei, array_length(ei));