From de0d2c46c59783f1b32c908e517ee743af9e0e7d Mon Sep 17 00:00:00 2001 From: jmayer Date: Fri, 8 May 2009 15:16:07 +0000 Subject: [PATCH] Warningfix: function() -> function(void) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28302 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-mp2t.c | 2 +- gtk/ansi_a_stat.c | 2 +- gtk/ansi_map_stat.c | 2 +- gtk/gsm_a_stat.c | 2 +- gtk/gsm_map_stat.c | 2 +- gtk/main_welcome.c | 2 +- gtk/main_welcome.h | 2 +- gtk/mtp3_stat.c | 2 +- gtk/mtp3_summary.c | 2 +- gtk/sctp_chunk_stat_dlg.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c index be6a9f41ba..8d99ea181a 100644 --- a/epan/dissectors/packet-mp2t.c +++ b/epan/dissectors/packet-mp2t.c @@ -268,7 +268,7 @@ get_the_conversation(packet_info *pinfo) } static mp2t_analysis_data_t * -init_mp2t_conversation_data() +init_mp2t_conversation_data(void) { mp2t_analysis_data_t *mp2t_data = NULL; diff --git a/gtk/ansi_a_stat.c b/gtk/ansi_a_stat.c index 7d24948011..075042637e 100644 --- a/gtk/ansi_a_stat.c +++ b/gtk/ansi_a_stat.c @@ -195,7 +195,7 @@ ansi_a_stat_gtk_win_destroy_cb( /* Create list */ static -GtkWidget* create_list() +GtkWidget* create_list(void) { GtkListStore *list_store; diff --git a/gtk/ansi_map_stat.c b/gtk/ansi_map_stat.c index a7750b9662..127fce25f7 100644 --- a/gtk/ansi_map_stat.c +++ b/gtk/ansi_map_stat.c @@ -80,7 +80,7 @@ static ansi_map_stat_t ansi_a_stat; /* Create list */ static -GtkWidget* create_list() +GtkWidget* create_list(void) { GtkListStore *list_store; diff --git a/gtk/gsm_a_stat.c b/gtk/gsm_a_stat.c index d721dbed0a..649870c55d 100644 --- a/gtk/gsm_a_stat.c +++ b/gtk/gsm_a_stat.c @@ -97,7 +97,7 @@ static gsm_a_stat_t gsm_a_stat; /* Create list */ static -GtkWidget* create_list() +GtkWidget* create_list(void) { GtkListStore *list_store; diff --git a/gtk/gsm_map_stat.c b/gtk/gsm_map_stat.c index aaa1c89626..0735aa42bb 100644 --- a/gtk/gsm_map_stat.c +++ b/gtk/gsm_map_stat.c @@ -75,7 +75,7 @@ enum /* Create list */ static -GtkWidget* create_list() +GtkWidget* create_list(void) { GtkListStore *list_store; diff --git a/gtk/main_welcome.c b/gtk/main_welcome.c index c48eb6863d..6d2ad00e9a 100644 --- a/gtk/main_welcome.c +++ b/gtk/main_welcome.c @@ -320,7 +320,7 @@ welcome_header_push_msg(gchar *msg) { } void -welcome_header_pop_msg() { +welcome_header_pop_msg(void) { gchar *msg = NULL; if (status_messages) { diff --git a/gtk/main_welcome.h b/gtk/main_welcome.h index f889469095..c17a2725ce 100644 --- a/gtk/main_welcome.h +++ b/gtk/main_welcome.h @@ -50,6 +50,6 @@ void welcome_header_push_msg(gchar *msg); * messages on the stack, the default message and the main columns * will be shown. */ -void welcome_header_pop_msg(); +void welcome_header_pop_msg(void); #endif /* __MAIN_WELCOME_H__ */ diff --git a/gtk/mtp3_stat.c b/gtk/mtp3_stat.c index b00db8981a..e656683ee0 100644 --- a/gtk/mtp3_stat.c +++ b/gtk/mtp3_stat.c @@ -85,7 +85,7 @@ guint8 mtp3_num_used; /* Create list */ static -GtkWidget* create_list() +GtkWidget* create_list(void) { GtkListStore *list_store; diff --git a/gtk/mtp3_summary.c b/gtk/mtp3_summary.c index d6eb82f63b..1bf56a389f 100644 --- a/gtk/mtp3_summary.c +++ b/gtk/mtp3_summary.c @@ -76,7 +76,7 @@ enum /* Create list */ static -GtkWidget* create_list() +GtkWidget* create_list(void) { GtkListStore *list_store; diff --git a/gtk/sctp_chunk_stat_dlg.c b/gtk/sctp_chunk_stat_dlg.c index 271f933f17..09c9bb922c 100644 --- a/gtk/sctp_chunk_stat_dlg.c +++ b/gtk/sctp_chunk_stat_dlg.c @@ -81,7 +81,7 @@ enum /* Create list */ static -GtkWidget* create_list() +GtkWidget* create_list(void) { GtkListStore *list_store; -- 2.34.1