diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-02-02 09:08:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-02-02 09:08:42 +0000 |
commit | 291e154e03c9924ee92949a01f746459610ca31f (patch) | |
tree | 4a1c625abafe5fa7e081b9f8d8e06682532c92d3 | |
parent | 0c5d6e35ee06078c87d792a7b30aa04dfe7bdb6d (diff) | |
download | wireshark-291e154e03c9924ee92949a01f746459610ca31f.tar.gz wireshark-291e154e03c9924ee92949a01f746459610ca31f.tar.bz2 wireshark-291e154e03c9924ee92949a01f746459610ca31f.zip |
Use C89 syntax, not C++ syntax, for functions that take no arguments.
svn path=/trunk/; revision=13238
-rw-r--r-- | gtk/graph_analysis.c | 2 | ||||
-rw-r--r-- | gtk/graph_analysis.h | 2 | ||||
-rw-r--r-- | gtk/voip_calls.c | 4 | ||||
-rw-r--r-- | gtk/voip_calls.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/gtk/graph_analysis.c b/gtk/graph_analysis.c index cd8328205d..e1a4380be9 100644 --- a/gtk/graph_analysis.c +++ b/gtk/graph_analysis.c @@ -958,7 +958,7 @@ void get_nodes(graph_analysis_data_t* user_data) /****************************************************************************/ /* XXX only handles IPv4, should add IPv6 support */ -graph_analysis_data_t* graph_analysis_init() +graph_analysis_data_t* graph_analysis_init(void) { graph_analysis_data_t* user_data; /* init */ diff --git a/gtk/graph_analysis.h b/gtk/graph_analysis.h index 2fc3f8d3d6..0f88c521f6 100644 --- a/gtk/graph_analysis.h +++ b/gtk/graph_analysis.h @@ -113,7 +113,7 @@ typedef struct _graph_analysis_data_t { guint32 num_items; } graph_analysis_data_t; -graph_analysis_data_t* graph_analysis_init(); +graph_analysis_data_t* graph_analysis_init(void); void graph_analysis_create(graph_analysis_data_t* user_data); void graph_analysis_update(graph_analysis_data_t* user_data); diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c index 47864c4c95..d3e6298336 100644 --- a/gtk/voip_calls.c +++ b/gtk/voip_calls.c @@ -165,7 +165,7 @@ void voip_calls_reset(voip_calls_tapinfo_t *tapinfo) } /****************************************************************************/ -void graph_analysis_data_init(){ +void graph_analysis_data_init(void){ the_tapinfo_struct.graph_analysis = g_malloc(sizeof(graph_analysis_info_t)); the_tapinfo_struct.graph_analysis->nconv = 0; the_tapinfo_struct.graph_analysis->list = NULL; @@ -184,7 +184,7 @@ void graph_analysis_data_init(){ * The second solution is cleaner and probably easier to implement, * leaving the current rtp analysis feature untouched. */ -void add_rtp_streams_graph() +void add_rtp_streams_graph(void) { rtp_stream_info_t *strinfo; GList *strinfo_list; diff --git a/gtk/voip_calls.h b/gtk/voip_calls.h index e9f21f55fa..c42ce58d39 100644 --- a/gtk/voip_calls.h +++ b/gtk/voip_calls.h @@ -195,8 +195,8 @@ void isup_calls_reset(voip_calls_tapinfo_t *tapinfo); void mtp3_calls_reset(voip_calls_tapinfo_t *tapinfo); void q931_calls_reset(voip_calls_tapinfo_t *tapinfo); -void graph_analysis_data_init(); +void graph_analysis_data_init(void); -void add_rtp_streams_graph(); +void add_rtp_streams_graph(void); #endif /*VOIP_CALLS_H_INCLUDED*/ |