Get rid of Warinings [-Wmissing-prototypes]

svn path=/trunk/; revision=53311
This commit is contained in:
Anders Broman 2013-11-14 06:21:02 +00:00
parent bfca717c45
commit a7e417bf24
37 changed files with 64 additions and 4 deletions

View File

@ -36,6 +36,8 @@
#include <epan/dissectors/packet-afp.h>
#include "epan/timestats.h"
void register_tap_listener_afpstat(void);
/* used to keep track of the statistics for an entire program interface */
typedef struct _afpstat_t {
char *filter;

View File

@ -41,6 +41,7 @@
#include <epan/dissectors/packet-bssap.h>
#include <epan/dissectors/packet-ansi_a.h>
void register_tap_listener_ansi_astat(void);
typedef struct _ansi_a_stat_t {
int bsmap_message_type[0xff];

View File

@ -32,6 +32,7 @@
#include <epan/tap.h>
#include <epan/stat_cmd_args.h>
void register_tap_listener_gtkdhcpstat(void);
typedef const char* bootp_info_value_t;

View File

@ -57,6 +57,8 @@
#define TTL_SEARCH 5
void register_tap_listener_comparestat(void);
/* information which will be printed */
typedef struct _for_print {
guint count;

View File

@ -36,6 +36,8 @@
#define MICROSECS_PER_SEC 1000000
#define NANOSECS_PER_SEC 1000000000
void register_tap_listener_dcerpcstat(void);
/* used to keep track of statistics for a specific procedure */
typedef struct _rpc_procedure_t {
const char *proc;

View File

@ -51,6 +51,7 @@
#include "epan/to_str.h"
#include "epan/dissectors/packet-diameter.h"
void register_tap_listener_diameteravp(void);
/* used to keep track of the statistics for an entire program interface */
typedef struct _diameteravp_t {

View File

@ -35,6 +35,8 @@
#include <epan/stat_cmd_args.h>
#include <epan/expert.h>
void register_tap_listener_expert_info(void);
/* Tap data */
typedef enum severity_level_t {
chat_level=0,

View File

@ -55,6 +55,8 @@
#include <epan/dissectors/packet-ssl-utils.h>
#endif
void register_tap_listener_follow(void);
WS_DLL_PUBLIC FILE *data_out_file;
typedef enum

View File

@ -36,6 +36,7 @@
#include <stdio.h>
#include <epan/stat_cmd_args.h>
void register_tap_listener_gtkfunnel(void);
struct _funnel_text_window_t {
gchar* title;

View File

@ -41,6 +41,7 @@
#include <epan/dissectors/packet-bssap.h>
#include <epan/dissectors/packet-gsm_a_common.h>
void register_tap_listener_gsm_astat(void);
typedef struct _gsm_a_stat_t {
int bssmap_message_type[0xff];

View File

@ -54,6 +54,7 @@
#define REL_CMP_REASONS 26
#define FACILITY_REASONS 11
void register_tap_listener_h225counter(void);
/* used to keep track of the statistics for an entire program interface */
typedef struct _h225counter_t {

View File

@ -40,6 +40,8 @@
/* following values represent the size of their valuestring arrays */
#define NUM_RAS_STATS 7
void register_tap_listener_h225rassrt(void);
static const value_string ras_message_category[] = {
{ 0, "Gatekeeper "},
{ 1, "Registration "},

View File

@ -38,7 +38,7 @@
#include <epan/stat_cmd_args.h>
#include <epan/addr_resolv.h>
void register_tap_listener_hosts(void);
gboolean dump_v4 = FALSE;
gboolean dump_v6 = FALSE;

View File

@ -34,6 +34,7 @@
#include <epan/stat_cmd_args.h>
#include <epan/dissectors/packet-http.h>
void register_tap_listener_gtkhttpstat(void);
/* used to keep track of the statictics for an entire program interface */
typedef struct _http_stats_t {

View File

@ -40,6 +40,8 @@
#include <epan/dissectors/packet-icmp.h>
#include <math.h>
void register_tap_listener_icmpstat(void);
/* used to keep track of the ICMP statistics */
typedef struct _icmpstat_t {
char *filter;

View File

@ -41,6 +41,8 @@
#include <epan/dissectors/packet-icmp.h>
#include <math.h>
void register_tap_listener_icmpv6stat(void);
/* used to keep track of the ICMPv6 statistics */
typedef struct _icmpv6stat_t {
char *filter;

View File

@ -46,6 +46,8 @@
#define CALC_TYPE_AVG 7
#define CALC_TYPE_LOAD 8
void register_tap_listener_iostat(void);
typedef struct {
const char *func_name;
int calc_type;

View File

@ -47,6 +47,8 @@
#include <epan/dissectors/packet-fc.h>
#include <epan/dissectors/packet-fddi.h>
void register_tap_listener_iousers(void);
typedef struct _io_users_t {
const char *type;
char *filter;

View File

@ -35,6 +35,8 @@
#include <epan/stat_cmd_args.h>
#include <epan/dissectors/packet-mac-lte.h>
void register_tap_listener_mac_lte_stat(void);
/**********************************************/
/* Table column identifiers and title strings */

View File

@ -39,7 +39,7 @@
#include "ui/tap-megaco-common.h"
void register_tap_listener_megacostat(void);
static void
megacostat_draw(void *pms)

View File

@ -37,6 +37,8 @@
#define NUM_TIMESTATS 11
void register_tap_listener_mgcpstat(void);
/* used to keep track of the statistics for an entire program interface */
typedef struct _mgcpstat_t {
char *filter;

View File

@ -37,6 +37,8 @@
#include <epan/stat_cmd_args.h>
#include <epan/strutil.h>
void register_tap_listener_protocolinfo(void);
typedef struct _pci_t {
char *filter;
int hf_index;

View File

@ -36,6 +36,8 @@
#include <epan/tap.h>
#include <epan/stat_cmd_args.h>
void register_tap_listener_protohierstat(void);
typedef struct _phs_t {
struct _phs_t *sibling;
struct _phs_t *child;

View File

@ -35,6 +35,8 @@
#include <epan/dissectors/packet-radius.h>
#include "epan/timestats.h"
void register_tap_listener_radiusstat(void);
typedef enum _radius_category {
RADIUS_CAT_OVERALL = 0,
RADIUS_CAT_ACCESS,

View File

@ -35,6 +35,7 @@
#include <epan/stat_cmd_args.h>
#include <epan/dissectors/packet-rlc-lte.h>
void register_tap_listener_rlc_lte_stat(void);
enum {
UEID_COLUMN,

View File

@ -40,6 +40,8 @@
#define MICROSECS_PER_SEC 1000000
#define NANOSECS_PER_SEC 1000000000
void register_tap_listener_rpcprogs(void);
/* used to keep track of statistics for a specific program/version */
typedef struct _rpc_program_t {
struct _rpc_program_t *next;

View File

@ -42,6 +42,8 @@
#define MICROSECS_PER_SEC 1000000
#define NANOSECS_PER_SEC 1000000000
void register_tap_listener_rpcstat(void);
/* used to keep track of statistics for a specific procedure */
typedef struct _rpc_procedure_t {
const char *proc;

View File

@ -49,6 +49,8 @@
#include "ui/rtp_stream.h"
#include "ui/tap-rtp-common.h"
void register_tap_listener_rtp_streams(void);
/* The one and only global rtpstream_tapinfo_t structure for tshark and wireshark.
*/
static rtpstream_tapinfo_t the_tapinfo_struct =

View File

@ -38,7 +38,8 @@
#include "register.h"
#include <epan/dissectors/packet-rtsp.h>
void register_tap_listener_gtkrtspstat(void);
/* used to keep track of the statictics for an entire program interface */
typedef struct _rtsp_stats_t {
char *filter;

View File

@ -38,6 +38,8 @@
#include <epan/dissectors/packet-scsi-smc.h>
#include <epan/dissectors/packet-scsi-osd.h>
void register_tap_listener_scsistat(void);
static guint8 scsi_program=0;
/* used to keep track of statistics for a specific procedure */

View File

@ -37,6 +37,8 @@
#include <epan/dissectors/packet-sctp.h>
#include <epan/to_str.h>
void register_tap_listener_sctpstat(void);
typedef struct sctp_ep {
struct sctp_ep* next;
address src;

View File

@ -35,6 +35,8 @@
#include "epan/value_string.h"
#include <epan/dissectors/packet-sip.h>
void register_tap_listener_sipstat(void);
/* used to keep track of the statictics for an entire program interface */
typedef struct _sip_stats_t {
char *filter;

View File

@ -35,6 +35,7 @@
#include "epan/value_string.h"
#include <epan/dissectors/packet-smb.h>
void register_tap_listener_smbsids(void);
static int
smbsids_packet(void *pss _U_, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const void *psi _U_)

View File

@ -38,6 +38,8 @@
#define MICROSECS_PER_SEC 1000000
#define NANOSECS_PER_SEC 1000000000
void register_tap_listener_smbstat(void);
/* used to keep track of the statistics for an entire program interface */
typedef struct _smbstat_t {
char *filter;

View File

@ -34,6 +34,8 @@
#include <epan/stats_tree_priv.h>
#include <epan/stat_cmd_args.h>
void register_tap_listener_stats_tree_stat(void);
/* actually unused */
struct _st_node_pres {
void *dummy;
@ -118,7 +120,7 @@ init_stats_tree(const char *opt_arg, void *userdata _U_)
}
void
static void
register_stats_tree_tap (gpointer k _U_, gpointer v, gpointer p _U_)
{
stats_tree_cfg *cfg = (stats_tree_cfg *)v;

View File

@ -34,6 +34,8 @@
#include <epan/stat_cmd_args.h>
#include <epan/dissectors/packet-sv.h>
void register_tap_listener_sv(void);
static int
sv_packet(void *prs _U_, packet_info *pinfo, epan_dissect_t *edt _U_, const void *pri)
{

View File

@ -39,6 +39,8 @@
#include "epan/value_string.h"
#include <epan/dissectors/packet-wsp.h>
void register_tap_listener_wspstat(void);
/* used to keep track of the stats for a specific PDU type*/
typedef struct _wsp_pdu_t {
const gchar *type;