diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-08 23:04:01 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-09 12:38:06 +0000 |
commit | 31a54708f42fd5cdbe03c6872c4ff137008fb477 (patch) | |
tree | 647ae79c8a5c29b83029d94b8f1b0e275163aa2b /epan/dissectors/packet-btavdtp.c | |
parent | 443a7ed259f40ba5cfcc7d9c1e0fe5d7fee0d18c (diff) |
new_register_dissector -> register_dissector for dissector directory.
Change-Id: Ie39ef054a4a942687bd079f3a4d8c2cc55d5f22c
Reviewed-on: https://code.wireshark.org/review/12485
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-btavdtp.c')
-rw-r--r-- | epan/dissectors/packet-btavdtp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-btavdtp.c b/epan/dissectors/packet-btavdtp.c index a4c391a851..25728ed8ae 100644 --- a/epan/dissectors/packet-btavdtp.c +++ b/epan/dissectors/packet-btavdtp.c @@ -2725,7 +2725,7 @@ proto_register_btavdtp(void) }; proto_btavdtp = proto_register_protocol("Bluetooth AVDTP Protocol", "BT AVDTP", "btavdtp"); - btavdtp_handle = new_register_dissector("btavdtp", dissect_btavdtp, proto_btavdtp); + btavdtp_handle = register_dissector("btavdtp", dissect_btavdtp, proto_btavdtp); proto_register_field_array(proto_btavdtp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); @@ -2933,7 +2933,7 @@ proto_register_aptx(void) proto_register_field_array(proto_bta2dp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - aptx_handle = new_register_dissector("aptx", dissect_aptx, proto_aptx); + aptx_handle = register_dissector("aptx", dissect_aptx, proto_aptx); } @@ -3151,7 +3151,7 @@ proto_register_bta2dp(void) proto_register_field_array(proto_bta2dp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - bta2dp_handle = new_register_dissector("bta2dp", dissect_bta2dp, proto_bta2dp); + bta2dp_handle = register_dissector("bta2dp", dissect_bta2dp, proto_bta2dp); module = prefs_register_protocol(proto_bta2dp, NULL); prefs_register_static_text_preference(module, "a2dp.version", @@ -3387,7 +3387,7 @@ proto_register_btvdp(void) }; proto_btvdp = proto_register_protocol("Bluetooth VDP Profile", "BT VDP", "btvdp"); - btvdp_handle = new_register_dissector("btvdp", dissect_btvdp, proto_btvdp); + btvdp_handle = register_dissector("btvdp", dissect_btvdp, proto_btvdp); proto_register_field_array(proto_bta2dp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); expert_btavdtp = expert_register_protocol(proto_btvdp); @@ -3473,7 +3473,7 @@ proto_register_bta2dp_content_protection_header_scms_t(void) proto_register_field_array(proto_bta2dp_cph_scms_t, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("bta2dp_content_protection_header_scms_t", dissect_a2dp_cp_scms_t, proto_bta2dp_cph_scms_t); + register_dissector("bta2dp_content_protection_header_scms_t", dissect_a2dp_cp_scms_t, proto_bta2dp_cph_scms_t); } static gint @@ -3523,7 +3523,7 @@ proto_register_btvdp_content_protection_header_scms_t(void) proto_register_field_array(proto_btvdp_cph_scms_t, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("btvdp_content_protection_header_scms_t", dissect_vdp_cp_scms_t, proto_btvdp_cph_scms_t); + register_dissector("btvdp_content_protection_header_scms_t", dissect_vdp_cp_scms_t, proto_btvdp_cph_scms_t); } /* |