Fix no previous prototype warnings.
Change-Id: I859597ebc957a58f659800ef63318f94e80feabf Reviewed-on: https://code.wireshark.org/review/1104 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
167041a9be
commit
c68769765c
|
@ -33,6 +33,8 @@
|
|||
|
||||
#include "packet-tcp.h"
|
||||
|
||||
void proto_register_bencode(void);
|
||||
|
||||
static int proto_bencode = -1;
|
||||
|
||||
static gint hf_bencode_str_length = -1;
|
||||
|
|
|
@ -1431,7 +1431,7 @@ decode_epl_address (guchar adr)
|
|||
}
|
||||
}
|
||||
|
||||
gint
|
||||
static gint
|
||||
dissect_epl_payload ( proto_tree *epl_tree, tvbuff_t *tvb, packet_info *pinfo, gint offset, gint len, guint8 msgType )
|
||||
{
|
||||
gint off = 0;
|
||||
|
|
|
@ -113,6 +113,7 @@
|
|||
|
||||
void proto_register_ieee80211(void);
|
||||
void proto_reg_handoff_ieee80211(void);
|
||||
void proto_register_wlan_rsna_eapol(void);
|
||||
|
||||
extern value_string_ext eap_type_vals_ext; /* from packet-eap.c */
|
||||
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
#include <epan/prefs.h>
|
||||
#include "packet-lbm.h"
|
||||
|
||||
void proto_register_lbm(void);
|
||||
void proto_reg_handoff_lbm(void);
|
||||
|
||||
/* Protocol handle */
|
||||
static int lbm_protocol_handle = -1;
|
||||
|
||||
|
|
|
@ -36,6 +36,10 @@
|
|||
#include "packet-lbm.h"
|
||||
#include "packet-lbttcp.h"
|
||||
|
||||
|
||||
void proto_register_lbmc(void);
|
||||
void proto_reg_handoff_lbmc(void);
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Stream management. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
#define PDM_MSG_HDR_LE_MAGIC_BYTE_3 0x1C
|
||||
#define PDM_MSG_HDR_LE_MAGIC_BYTE_4 0xA7
|
||||
|
||||
void proto_register_lbmpdm(void);
|
||||
void proto_reg_handoff_lbmpdm(void);
|
||||
|
||||
/*------------*/
|
||||
/* PDM header */
|
||||
/*------------*/
|
||||
|
@ -345,7 +348,7 @@ static int hf_lbmpdm_segment_def_fixed_req_section_len = -1;
|
|||
static int hf_lbmpdm_segment_def_field_info_len = -1;
|
||||
static int hf_lbmpdm_segment_def_field = -1;
|
||||
static int hf_lbmpdm_segment_def_field_def_len = -1;
|
||||
static int hf_lbmpdm_segment_def_field_id = -1;;
|
||||
static int hf_lbmpdm_segment_def_field_id = -1;
|
||||
static int hf_lbmpdm_segment_def_field_len = -1;
|
||||
static int hf_lbmpdm_segment_def_field_fixed_str_len = -1;
|
||||
static int hf_lbmpdm_segment_def_field_num_arr_elem = -1;
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
#include <epan/conversation.h>
|
||||
#include "packet-lbm.h"
|
||||
|
||||
void proto_register_lbmpdm_tcp(void);
|
||||
void proto_reg_handoff_lbmpdm_tcp(void);
|
||||
|
||||
/* Protocol handle */
|
||||
static int lbmpdm_tcp_protocol_handle = -1;
|
||||
|
||||
|
|
|
@ -50,6 +50,9 @@
|
|||
|
||||
#define LBMR_MAX_NAMELEN 256
|
||||
|
||||
void proto_register_lbmr(void);
|
||||
void proto_reg_handoff_lbmr(void);
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* LBT-IPC transport management. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
|
|
@ -45,6 +45,9 @@
|
|||
#include "packet-lbm.h"
|
||||
#include "packet-lbtrm.h"
|
||||
|
||||
void proto_register_lbtrm(void);
|
||||
void proto_reg_handoff_lbtrm(void);
|
||||
|
||||
/* Protocol handle */
|
||||
static int proto_lbtrm = -1;
|
||||
|
||||
|
|
|
@ -37,6 +37,9 @@
|
|||
#include "packet-lbm.h"
|
||||
#include "packet-lbtru.h"
|
||||
|
||||
void proto_register_lbtru(void);
|
||||
void proto_reg_handoff_lbtru(void);
|
||||
|
||||
/* Protocol handle */
|
||||
static int proto_lbtru = -1;
|
||||
|
||||
|
|
|
@ -37,6 +37,10 @@
|
|||
#include "packet-lbm.h"
|
||||
#include "packet-lbttcp.h"
|
||||
|
||||
|
||||
void proto_register_lbttc(void);
|
||||
void proto_reg_handoff_lbttc(void);
|
||||
|
||||
/* Protocol handle */
|
||||
static int proto_lbttcp = -1;
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#include "packet-tcp.h"
|
||||
#include <epan/prefs.h>
|
||||
|
||||
void proto_register_lg8979(void);
|
||||
|
||||
/* Initialize the protocol and registered fields */
|
||||
static int proto_lg8979 = -1;
|
||||
static int hf_lg8979_header = -1;
|
||||
|
|
|
@ -59,6 +59,9 @@
|
|||
|
||||
#define MQTT_MASK_SUBQOS 0x03
|
||||
|
||||
void proto_register_mqtt(void);
|
||||
void proto_reg_handoff_mqtt(void);
|
||||
|
||||
static const value_string mqtt_msgtype_vals[] = {
|
||||
{ MQTT_RESERVED, "Reserved" },
|
||||
{ MQTT_CONNECT, "Connect Command" },
|
||||
|
|
Loading…
Reference in New Issue