From ab784d60b3c550c909f8a90aa10fe7caef9292d6 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 13 Jan 2016 17:02:42 -0800 Subject: Rename new_dissector_t to dissector_t. There are no longer any "old" dissectors, so "new_" is redundant. Change-Id: I5fee51228c2a8562166f5991e1f30c2c697e45c8 Reviewed-on: https://code.wireshark.org/review/13273 Reviewed-by: Guy Harris --- asn1/t124/packet-t124-template.c | 4 ++-- asn1/t124/packet-t124-template.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'asn1/t124') diff --git a/asn1/t124/packet-t124-template.c b/asn1/t124/packet-t124-template.c index e9b641b2f3..db299b544c 100644 --- a/asn1/t124/packet-t124-template.c +++ b/asn1/t124/packet-t124-template.c @@ -74,7 +74,7 @@ static const per_sequence_t t124Heur_sequence[] = { }; void -register_t124_ns_dissector(const char *nsKey, new_dissector_t dissector, int proto) +register_t124_ns_dissector(const char *nsKey, dissector_t dissector, int proto) { dissector_handle_t dissector_handle; @@ -82,7 +82,7 @@ register_t124_ns_dissector(const char *nsKey, new_dissector_t dissector, int pro dissector_add_string("t124.ns", nsKey, dissector_handle); } -void register_t124_sd_dissector(packet_info *pinfo _U_, guint32 channelId_param, new_dissector_t dissector, int proto) +void register_t124_sd_dissector(packet_info *pinfo _U_, guint32 channelId_param, dissector_t dissector, int proto) { /* XXX: we should keep the sub-dissectors list per conversation as the same channels may be used. diff --git a/asn1/t124/packet-t124-template.h b/asn1/t124/packet-t124-template.h index f86b48501c..487718c86a 100644 --- a/asn1/t124/packet-t124-template.h +++ b/asn1/t124/packet-t124-template.h @@ -31,8 +31,8 @@ extern int dissect_DomainMCSPDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p extern guint32 t124_get_last_channelId(void); extern void t124_set_top_tree(proto_tree *tree); -extern void register_t124_ns_dissector(const char *nsKey, new_dissector_t dissector, int proto); -extern void register_t124_sd_dissector(packet_info *pinfo, guint32 channelId, new_dissector_t dissector, int proto); +extern void register_t124_ns_dissector(const char *nsKey, dissector_t dissector, int proto); +extern void register_t124_sd_dissector(packet_info *pinfo, guint32 channelId, dissector_t dissector, int proto); #include "packet-t124-exp.h" -- cgit v1.2.1