forked from osmocom/wireshark
[-Wmissing-prototypes]
explicit casts. svn path=/trunk/; revision=48293
This commit is contained in:
parent
3fa84d8af5
commit
b539916835
|
@ -31,8 +31,8 @@
|
|||
#include <epan/packet.h>
|
||||
#include <ctype.h>
|
||||
|
||||
void proto_register_at(void);
|
||||
void proto_reg_handoff_at(void);
|
||||
void proto_register_at_command(void);
|
||||
void proto_reg_handoff_at_command(void);
|
||||
|
||||
static int proto_at = -1;
|
||||
static int hf_at_command = -1;
|
||||
|
|
|
@ -1585,7 +1585,7 @@ dissect_atm_cell(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
|||
guint16 vpi, vci, aal3_4_hdr, crc10;
|
||||
gint length;
|
||||
tvbuff_t *next_tvb;
|
||||
const pwatm_private_data_t *pwpd = pinfo->private_data;
|
||||
const pwatm_private_data_t *pwpd = (const pwatm_private_data_t *)pinfo->private_data;
|
||||
|
||||
if (NULL == pwpd) {
|
||||
if (!nni) {
|
||||
|
@ -1672,7 +1672,7 @@ dissect_atm_cell(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
|||
else
|
||||
{
|
||||
offset = 0; /* For PWs. Header is decoded by PW dissector.*/
|
||||
pwpd = pinfo->private_data;
|
||||
pwpd = (const pwatm_private_data_t *)pinfo->private_data;
|
||||
/* Not used !
|
||||
vpi = pwpd->vpi;
|
||||
*/
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
#include <epan/packet.h>
|
||||
#include <ipproto.h>
|
||||
|
||||
void proto_register_ax4000(void);
|
||||
void proto_reg_handoff_ax4000(void);
|
||||
|
||||
/* Initialize the protocol and registered fields */
|
||||
static int proto_ax4000 = -1;
|
||||
static int hf_ax4000_port = -1;
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
#include <epan/ipproto.h>
|
||||
#include <epan/strutil.h>
|
||||
|
||||
void proto_register_ayiya(void);
|
||||
void proto_reg_handoff_ayiya(void);
|
||||
|
||||
static dissector_table_t ip_dissector_table;
|
||||
|
||||
static int proto_ayiya = -1;
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
|
||||
#include <epan/packet.h>
|
||||
|
||||
void proto_register_babel(void);
|
||||
void proto_reg_handoff_babel(void);
|
||||
|
||||
static int proto_babel = -1;
|
||||
|
||||
static gint ett_babel = -1;
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
|
||||
#include <epan/llcsaps.h>
|
||||
|
||||
void proto_register_bacnet(void);
|
||||
void proto_reg_handoff_bacnet(void);
|
||||
|
||||
static dissector_handle_t bacapp_handle;
|
||||
static dissector_handle_t data_handle;
|
||||
/* Defined to allow vendor identifier registration of private transfer dissectors */
|
||||
|
|
|
@ -36,6 +36,9 @@
|
|||
#include <epan/prefs.h>
|
||||
#include <epan/expert.h>
|
||||
|
||||
void proto_register_banana(void);
|
||||
void proto_reg_handoff_banana(void);
|
||||
|
||||
/* Initialize the protocol and registered fields */
|
||||
static int proto_banana = -1;
|
||||
static int hf_banana_list = -1;
|
||||
|
|
|
@ -36,6 +36,9 @@
|
|||
#define PSNAME "BCTP"
|
||||
#define PFNAME "bctp"
|
||||
|
||||
void proto_register_bctp(void);
|
||||
void proto_reg_handoff_bctp(void);
|
||||
|
||||
static int proto_bctp = -1;
|
||||
static int hf_bctp_bvei = -1;
|
||||
static int hf_bctp_bvi = -1;
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
#include <epan/prefs.h>
|
||||
#include <epan/expert.h>
|
||||
|
||||
void proto_register_bfcp(void);
|
||||
void proto_reg_handoff_bfcp(void);
|
||||
|
||||
/* Initialize protocol and registered fields */
|
||||
static int proto_bfcp = -1;
|
||||
static gboolean bfcp_enable_heuristic_dissection = FALSE;
|
||||
|
@ -479,8 +482,6 @@ dissect_bfcp_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
void proto_reg_handoff_bfcp(void);
|
||||
|
||||
void proto_register_bfcp(void)
|
||||
{
|
||||
module_t *bfcp_module;
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
|
||||
#include "packet-bfd.h"
|
||||
|
||||
void proto_register_bfd(void);
|
||||
void proto_reg_handoff_bfd(void);
|
||||
|
||||
#define UDP_PORT_BFD_1HOP_CONTROL 3784 /* draft-katz-ward-bfd-v4v6-1hop-00.txt */
|
||||
#define UDP_PORT_BFD_MULTIHOP_CONTROL 4784 /* draft-ietf-bfd-multihop-05.txt */
|
||||
|
||||
|
|
|
@ -66,6 +66,9 @@
|
|||
#include <epan/expert.h>
|
||||
#include <epan/etypes.h>
|
||||
|
||||
void proto_register_bgp(void);
|
||||
void proto_reg_handoff_bgp(void);
|
||||
|
||||
/* #define MAX_STR_LEN 256 */
|
||||
|
||||
/* some handy things to know */
|
||||
|
|
|
@ -48,6 +48,9 @@
|
|||
*/
|
||||
#define BITCOIN_HEADER_LENGTH 4+12+4
|
||||
|
||||
void proto_register_bitcoin(void);
|
||||
void proto_reg_handoff_bitcoin(void);
|
||||
|
||||
static int proto_bitcoin = -1;
|
||||
|
||||
static gint hf_bitcoin_magic = -1;
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
#include "packet-cell_broadcast.h"
|
||||
#include "packet-gsm_map.h"
|
||||
|
||||
void proto_register_bmc(void);
|
||||
|
||||
static int dissect_bmc_cbs_message (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
|
||||
static int dissect_bmc_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
|
||||
static int dissect_bmc_cbs41_message (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
|
||||
|
|
|
@ -49,6 +49,9 @@
|
|||
#define ETHER_TYPE_BOFL 0x8102
|
||||
#define BOFL_MIN_LEN 8
|
||||
|
||||
void proto_register_bofl(void);
|
||||
void proto_reg_handoff_bofl(void);
|
||||
|
||||
/* Initialize the protocol and registered fields */
|
||||
static int proto_bofl = -1;
|
||||
static int hf_bofl_pdu = -1;
|
||||
|
|
Loading…
Reference in New Issue