From ec917d0489abb86134934c11443d4ced6cd93efc Mon Sep 17 00:00:00 2001 From: etxrab Date: Thu, 16 Jan 2014 07:30:22 +0000 Subject: [PATCH] Fix [-Wmissing-prototypes] git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@54826 f5534014-38df-0310-8fa8-9805f1628bb7 --- ui/gtk/ncp_stat.c | 1 + ui/gtk/radius_stat.c | 2 ++ ui/gtk/rlc_lte_stat_dlg.c | 2 ++ ui/gtk/rpc_progs.c | 2 ++ ui/gtk/rpc_stat.c | 2 ++ ui/gtk/rtp_analysis.c | 2 ++ ui/gtk/rtp_stream_dlg.c | 2 ++ ui/gtk/scsi_stat.c | 2 ++ ui/gtk/sctp_chunk_stat.c | 2 +- ui/gtk/smb2_stat.c | 2 ++ ui/gtk/smb_stat.c | 2 ++ ui/gtk/stats_tree_stat.c | 2 ++ ui/gtk/voip_calls_dlg.c | 2 ++ ui/gtk/wlan_stat_dlg.c | 2 ++ ui/gtk/wsp_stat.c | 2 ++ 15 files changed, 28 insertions(+), 1 deletion(-) diff --git a/ui/gtk/ncp_stat.c b/ui/gtk/ncp_stat.c index 46c9bda437..9b9645f2ab 100644 --- a/ui/gtk/ncp_stat.c +++ b/ui/gtk/ncp_stat.c @@ -45,6 +45,7 @@ #include "ui/gtk/gtkglobals.h" #include "ui/gtk/main.h" +void register_tap_listener_gtkncpstat(void); /* used to keep track of the statistics for an entire program interface */ typedef struct _ncpstat_t { diff --git a/ui/gtk/radius_stat.c b/ui/gtk/radius_stat.c index 8eea17ec19..1f22d9ddf6 100644 --- a/ui/gtk/radius_stat.c +++ b/ui/gtk/radius_stat.c @@ -48,6 +48,8 @@ #include "ui/gtk/old-gtk-compat.h" +void register_tap_listener_gtkradiusstat(void); + #define NUM_COLUMNS 11 typedef enum _radius_category { diff --git a/ui/gtk/rlc_lte_stat_dlg.c b/ui/gtk/rlc_lte_stat_dlg.c index fcac96aac3..5bba4089d6 100644 --- a/ui/gtk/rlc_lte_stat_dlg.c +++ b/ui/gtk/rlc_lte_stat_dlg.c @@ -53,6 +53,8 @@ #include "ui/gtk/old-gtk-compat.h" +void register_tap_listener_rlc_lte_stat(void); + /**********************************************/ /* Table column identifiers and title strings */ diff --git a/ui/gtk/rpc_progs.c b/ui/gtk/rpc_progs.c index 9504d81cd7..b6b2486ba4 100644 --- a/ui/gtk/rpc_progs.c +++ b/ui/gtk/rpc_progs.c @@ -53,6 +53,8 @@ #define NANOSECS_PER_SEC 1000000000 +void register_tap_listener_gtkrpcprogs(void); + static GtkWidget *win = NULL; static GtkWidget *grid = NULL; static int num_progs = 0; diff --git a/ui/gtk/rpc_stat.c b/ui/gtk/rpc_stat.c index 86d8af8ea5..865b7174ec 100644 --- a/ui/gtk/rpc_stat.c +++ b/ui/gtk/rpc_stat.c @@ -56,6 +56,8 @@ #include "ui/gtk/old-gtk-compat.h" +void register_tap_listener_gtkrpcstat(void); + /* used to keep track of the statistics for an entire program interface */ typedef struct _rpcstat_t { GtkWidget *win; diff --git a/ui/gtk/rtp_analysis.c b/ui/gtk/rtp_analysis.c index b894fc7565..b38e486990 100644 --- a/ui/gtk/rtp_analysis.c +++ b/ui/gtk/rtp_analysis.c @@ -97,6 +97,8 @@ #include "frame_tvbuff.h" +void register_tap_listener_rtp_analysis(void); + enum { PACKET_COLUMN, diff --git a/ui/gtk/rtp_stream_dlg.c b/ui/gtk/rtp_stream_dlg.c index 7d48c4faf2..7e2d580a40 100644 --- a/ui/gtk/rtp_stream_dlg.c +++ b/ui/gtk/rtp_stream_dlg.c @@ -59,6 +59,8 @@ static const gchar FWD_LABEL_TEXT[] = "Select a forward stream with left mouse b static const gchar FWD_ONLY_LABEL_TEXT[] = "Select a forward stream with Ctrl + left mouse button"; static const gchar REV_LABEL_TEXT[] = "Select a reverse stream with Ctrl + left mouse button"; +void register_tap_listener_rtp_stream_dlg(void); + /****************************************************************************/ /* pointer to the one and only dialog window */ static GtkWidget *rtp_stream_dlg = NULL; diff --git a/ui/gtk/scsi_stat.c b/ui/gtk/scsi_stat.c index 54b13fe74f..2f9379038a 100644 --- a/ui/gtk/scsi_stat.c +++ b/ui/gtk/scsi_stat.c @@ -59,6 +59,8 @@ #include "ui/gtk/old-gtk-compat.h" +void register_tap_listener_gtkscsistat(void); + /* used to keep track of the statistics for an entire scsi command set */ typedef struct _scsistat_t { GtkWidget *win; diff --git a/ui/gtk/sctp_chunk_stat.c b/ui/gtk/sctp_chunk_stat.c index afbbae7f8b..ec1db1ef48 100644 --- a/ui/gtk/sctp_chunk_stat.c +++ b/ui/gtk/sctp_chunk_stat.c @@ -51,7 +51,7 @@ #include "ui/tap-sctp-analysis.h" #include "ui/gtk/sctp_stat_gtk.h" - +void register_tap_listener_sctpstat(void); static void sctpstat_init(const char *opt_arg, void *userdata); static tap_param sctp_stat_params[] = { diff --git a/ui/gtk/smb2_stat.c b/ui/gtk/smb2_stat.c index f05a04feb6..72a4e03e34 100644 --- a/ui/gtk/smb2_stat.c +++ b/ui/gtk/smb2_stat.c @@ -48,6 +48,8 @@ #include "ui/gtk/old-gtk-compat.h" +void register_tap_listener_gtksmb2stat(void); + /* used to keep track of the statistics for an entire program interface */ typedef struct _smb2stat_t { GtkWidget *win; diff --git a/ui/gtk/smb_stat.c b/ui/gtk/smb_stat.c index 90cd55b2ac..762b8d0b77 100644 --- a/ui/gtk/smb_stat.c +++ b/ui/gtk/smb_stat.c @@ -48,6 +48,8 @@ #include "ui/gtk/old-gtk-compat.h" +void register_tap_listener_gtksmbstat(void); + /* used to keep track of the statistics for an entire program interface */ typedef struct _smbstat_t { GtkWidget *win; diff --git a/ui/gtk/stats_tree_stat.c b/ui/gtk/stats_tree_stat.c index c337ae9af2..57495d9b0c 100644 --- a/ui/gtk/stats_tree_stat.c +++ b/ui/gtk/stats_tree_stat.c @@ -65,6 +65,8 @@ #include "ui/win32/file_dlg_win32.h" #endif +void register_tap_listener_stats_tree_stat(void); + struct _st_node_pres { GtkTreeIter* iter; }; diff --git a/ui/gtk/voip_calls_dlg.c b/ui/gtk/voip_calls_dlg.c index 57b07098c0..337059b19a 100644 --- a/ui/gtk/voip_calls_dlg.c +++ b/ui/gtk/voip_calls_dlg.c @@ -70,6 +70,8 @@ #include "ui/gtk/old-gtk-compat.h" +void register_tap_listener_voip_calls_dlg(void); + /****************************************************************************/ /* pointer to the one and only dialog window */ static GtkWidget *voip_calls_dlg = NULL; diff --git a/ui/gtk/wlan_stat_dlg.c b/ui/gtk/wlan_stat_dlg.c index 2301623e37..025dd9f61f 100644 --- a/ui/gtk/wlan_stat_dlg.c +++ b/ui/gtk/wlan_stat_dlg.c @@ -51,6 +51,8 @@ #include "ui/gtk/old-gtk-compat.h" +void register_tap_listener_wlanstat(void); + enum { BSSID_COLUMN, CHANNEL_COLUMN, diff --git a/ui/gtk/wsp_stat.c b/ui/gtk/wsp_stat.c index 1dc53c07bd..276373a1a4 100644 --- a/ui/gtk/wsp_stat.c +++ b/ui/gtk/wsp_stat.c @@ -43,6 +43,8 @@ #include "ui/gtk/old-gtk-compat.h" +void register_tap_listener_gtkwspstat(void); + /* Used to keep track of the statistics for a specific PDU type */ typedef struct _wsp_pdu_t { GtkLabel *widget; -- 2.34.1