Fix [-Wmissing-prototypes]

svn path=/trunk/; revision=53425
This commit is contained in:
Anders Broman 2013-11-19 06:06:38 +00:00
parent bfcc63972e
commit 864431b900
10 changed files with 26 additions and 12 deletions

View File

@ -73,8 +73,8 @@
#define MGT_REG_REQ_MP 44
#define MGT_REG_RSP_MP 45
void proto_register_docsis_macmgmt(void);
void proto_reg_handoff_docsis_macmgmt(void);
void proto_register_docsis_mgmt(void);
void proto_reg_handoff_docsis_mgmt(void);
/* Initialize the protocol and registered fields */
static int proto_docsis_mgmt = -1;

View File

@ -131,8 +131,8 @@
#define DSG_DA_TO_DSID_ASSOCIATION_DA 1
#define DSG_DA_TO_DSID_ASSOCIATION_DSID 2
void proto_register_docsis_mdd(void);
void proto_reg_handoff_docsis_mdd(void);
static const value_string J83_annex_vals[] = {
{J83_ANNEX_A, "J.83 Annex A"},

View File

@ -29,8 +29,8 @@
#include <epan/packet.h>
void proto_register_docsis_regrsp(void);
void proto_reg_handoff_docsis_regrsp(void);
void proto_register_docsis_regrspmp(void);
void proto_reg_handoff_docsis_regrspmp(void);
/* Initialize the protocol and registered fields */
static int proto_docsis_regrspmp = -1;

View File

@ -42,8 +42,8 @@
#define US_EVENT_CH_ID 1
#define US_EVENT_MASK 2
void proto_register_tlv_cmctrl(void);
void proto_reg_handoff_tlv_cmctrl(void);
void proto_register_cmctrl_tlv(void);
void proto_reg_handoff_cmctrl_tlv(void);
static int proto_cmctrl_tlv = -1;
static int hf_cmctrl_tlv_mute = -1;

View File

@ -57,8 +57,8 @@
/* Define Vendor ID's here */
#define VENDOR_CISCO 0x00000C
void proto_register_docsis_vendor(void);
void proto_reg_handoff_docsis_vendor(void);
void proto_register_docsis_vsif(void);
void proto_reg_handoff_docsis_vsif(void);
/* Initialize the protocol and registered fields */
static int proto_docsis_vsif = -1;

View File

@ -34,6 +34,9 @@
#include "packet-ams.h"
void proto_register_ams(void);
void proto_reg_handoff_ams(void);
/* Define the ams proto */
int proto_ams = -1;

View File

@ -31,6 +31,8 @@
#include <epan/packet.h>
#include <epan/prefs.h>
void proto_register_esl(void);
#if 0
/* XXX: using bitfields is compiler dependent: See README.developer */
@ -214,7 +216,7 @@ typedef struct _ref_time_frame_info
static ref_time_frame_info ref_time_frame;
gboolean is_esl_header(tvbuff_t *tvb, gint offset)
static gboolean is_esl_header(tvbuff_t *tvb, gint offset)
{
return tvb_get_guint8(tvb, offset) == 0x01 &&
tvb_get_guint8(tvb, offset+1) == 0x01 &&
@ -224,7 +226,7 @@ gboolean is_esl_header(tvbuff_t *tvb, gint offset)
tvb_get_guint8(tvb, offset+5) == 0x00;
}
void modify_times(tvbuff_t *tvb, gint offset, packet_info *pinfo)
static void modify_times(tvbuff_t *tvb, gint offset, packet_info *pinfo)
{
if ( ref_time_frame.fd == NULL )
{

View File

@ -35,6 +35,9 @@
#include "packet-ethercat-datagram.h"
#include "packet-ecatmb.h"
void proto_register_ecat(void);
void proto_reg_handoff_ecat(void);
static heur_dissector_list_t heur_subdissector_list;
static dissector_handle_t ecat_mailbox_handle;

View File

@ -35,6 +35,9 @@
#include "packet-ethercat-frame.h"
void proto_register_ethercat_frame(void);
void proto_reg_handoff_ethercat_frame(void);
/* Define the Ethercat frame proto */
static int proto_ethercat_frame = -1;

View File

@ -34,6 +34,9 @@
#include "packet-nv.h"
void proto_register_nv(void);
void proto_reg_handoff_nv(void);
/* Define the nv proto */
int proto_nv = -1;