forked from osmocom/wireshark
Empty proto_reg_handoff_* are not needed, remove some.
Change-Id: I957b01aa00bbff3c48192388c7ad9e601d79c778 Reviewed-on: https://code.wireshark.org/review/3196 Reviewed-by: Bill Meier <wmeier@newsguy.com>
This commit is contained in:
parent
77016503fe
commit
788ff153ba
|
@ -32,7 +32,6 @@
|
|||
#include "packet-x509if.h"
|
||||
|
||||
void proto_register_gpef(void);
|
||||
void proto_reg_handoff_gpef(void);
|
||||
|
||||
static int proto_gpef = -1;
|
||||
static int hf_gpef_keycount = -1;
|
||||
|
@ -185,8 +184,3 @@ proto_register_gpef(void)
|
|||
|
||||
new_register_dissector("efsblob", dissect_gpef_efsblob, proto_gpef);
|
||||
}
|
||||
|
||||
void
|
||||
proto_reg_handoff_gpef(void)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -285,7 +285,3 @@ void proto_register_link16(void)
|
|||
proto_register_subtree_array(ett, array_length(ett));
|
||||
new_register_dissector("link16", dissect_link16, proto_link16);
|
||||
}
|
||||
|
||||
void proto_reg_handoff_link16(void)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -436,7 +436,6 @@ dissect_nasdaq_itch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
|
||||
/* Register the protocol with Wireshark */
|
||||
|
||||
void proto_reg_handoff_nasdaq_itch(void);
|
||||
void proto_register_nasdaq_itch(void);
|
||||
|
||||
void
|
||||
|
@ -593,12 +592,6 @@ proto_register_nasdaq_itch(void)
|
|||
register_dissector("nasdaq-itch", dissect_nasdaq_itch, proto_nasdaq_itch);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
proto_reg_handoff_nasdaq_itch(void)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines
|
||||
*
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include <epan/addr_resolv.h>
|
||||
|
||||
void proto_register_retix_bpdu(void);
|
||||
void proto_reg_handoff_retix_bpdu(void);
|
||||
|
||||
static gint ett_retix_bpdu = -1;
|
||||
static int proto_retix_bpdu = -1;
|
||||
|
@ -116,8 +115,3 @@ proto_register_retix_bpdu(void)
|
|||
proto_register_subtree_array(ett, array_length(ett));
|
||||
register_dissector("rbpdu", dissect_retix_bpdu, proto_retix_bpdu);
|
||||
}
|
||||
|
||||
void
|
||||
proto_reg_handoff_retix_bpdu(void)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include "packet-scsi-osd.h"
|
||||
|
||||
void proto_register_scsi_osd(void);
|
||||
void proto_reg_handoff_scsi_osd(void);
|
||||
|
||||
static int proto_scsi_osd = -1;
|
||||
int hf_scsi_osd_opcode = -1;
|
||||
|
@ -4045,10 +4044,6 @@ proto_register_scsi_osd(void)
|
|||
expert_register_field_array(expert_scsi_osd, ei, array_length(ei));
|
||||
}
|
||||
|
||||
void
|
||||
proto_reg_handoff_scsi_osd(void)
|
||||
{
|
||||
}
|
||||
/*
|
||||
* Editor modelines
|
||||
*
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
#include "packet-scsi-sbc.h"
|
||||
|
||||
void proto_register_scsi_sbc(void);
|
||||
void proto_reg_handoff_scsi_sbc(void);
|
||||
|
||||
static int proto_scsi_sbc = -1;
|
||||
|
||||
|
@ -2261,11 +2260,6 @@ proto_register_scsi_sbc(void)
|
|||
proto_register_subtree_array(ett, array_length(ett));
|
||||
}
|
||||
|
||||
void
|
||||
proto_reg_handoff_scsi_sbc(void)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include "packet-scsi-smc.h"
|
||||
|
||||
void proto_register_scsi_smc(void);
|
||||
void proto_reg_handoff_scsi_smc(void);
|
||||
|
||||
static int proto_scsi_smc = -1;
|
||||
int hf_scsi_smc_opcode = -1;
|
||||
|
@ -1150,12 +1149,6 @@ proto_register_scsi_smc(void)
|
|||
proto_register_subtree_array(ett, array_length(ett));
|
||||
}
|
||||
|
||||
void
|
||||
proto_reg_handoff_scsi_smc(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#define ALGO_ROHC 2
|
||||
|
||||
void proto_register_sndcp_xid(void);
|
||||
void proto_reg_handoff_sndcp_xid(void);
|
||||
|
||||
static const value_string sndcp_xid_dcomp_algo_str[] = {
|
||||
{0x0, "V.42 bis"},
|
||||
|
@ -868,12 +867,3 @@ proto_register_sndcp_xid(void)
|
|||
proto_register_subtree_array(ett, array_length(ett));
|
||||
register_dissector("sndcpxid", dissect_sndcp_xid, proto_sndcp_xid);
|
||||
}
|
||||
|
||||
/* If this dissector uses sub-dissector registration add a registration routine.
|
||||
This format is required because a script is used to find these routines and
|
||||
create the code that calls these routines.
|
||||
*/
|
||||
void
|
||||
proto_reg_handoff_sndcp_xid(void)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include <epan/tfs.h>
|
||||
|
||||
void proto_register_sysex(void);
|
||||
void proto_reg_handoff_sysex(void);
|
||||
|
||||
/* protocols and header fields */
|
||||
static int proto_sysex = -1;
|
||||
|
@ -1423,11 +1422,6 @@ proto_register_sysex(void)
|
|||
register_dissector("sysex", dissect_sysex_command, proto_sysex);
|
||||
}
|
||||
|
||||
void
|
||||
proto_reg_handoff_sysex(void)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines
|
||||
*
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include <epan/expert.h>
|
||||
|
||||
void proto_register_v52(void);
|
||||
void proto_reg_handoff_v52(void);
|
||||
|
||||
static int proto_v52 = -1;
|
||||
static int hf_v52_discriminator = -1;
|
||||
|
@ -2403,12 +2402,6 @@ proto_register_v52(void)
|
|||
register_dissector("v52", dissect_v52, proto_v52);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
proto_reg_handoff_v52(void)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue