aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_chunk_stat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-02-12 00:54:56 +0000
committerGuy Harris <guy@alum.mit.edu>2006-02-12 00:54:56 +0000
commitea82d47d0cb2f947978cac9135d40c521ff6eee5 (patch)
tree20ed101e467112bca3a9559e94b0524af456ab13 /gtk/sctp_chunk_stat.c
parent2af7f6b948c8adab08d4cb1ba92dda69ba91293b (diff)
Add userdata arguments to a bunch of stat initialization routines to
squelch compiler warnings. Tag one existing such argument as unused to squelch another warning. Fix up some indentation. svn path=/trunk/; revision=17261
Diffstat (limited to 'gtk/sctp_chunk_stat.c')
-rw-r--r--gtk/sctp_chunk_stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/sctp_chunk_stat.c b/gtk/sctp_chunk_stat.c
index 145f0e68a7..d4c8a3f5f7 100644
--- a/gtk/sctp_chunk_stat.c
+++ b/gtk/sctp_chunk_stat.c
@@ -54,7 +54,7 @@
#include "gui_utils.h"
-static void sctpstat_init(const char *optarg);
+static void sctpstat_init(const char *optarg, void *userdata);
static tap_dfilter_dlg sctp_stat_dlg = {
"SCTP Statistics",
@@ -279,7 +279,7 @@ static const gchar *titles[]={
"ERROR" };
static void
-sctpstat_init(const char *optarg)
+sctpstat_init(const char *optarg, void *userdata _U_)
{
sctpstat_t *hs;
const char *filter=NULL;