aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/mgcp_stat.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-27 11:13:03 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-27 11:13:03 +0000
commit467ca9d7697faa605078afc49a0e6d6877773f7b (patch)
tree5c7ba3d8a6ca6cfef12e328b217f7c433b94982f /gtk/mgcp_stat.c
parent958c4df8e58d27ae6028b704a18ee863fa371e27 (diff)
From Lars Roland: use the generic filter dialog for the SIP, HTTP, WSP,
and BOOTP taps. Get rid of the "dlg" variable in some of those taps - it's never set, so it's always null, and nothing useful is done with it if it's null. Make static some variables and functions not used outside the source file in which they're defined. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10500 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/mgcp_stat.c')
-rw-r--r--gtk/mgcp_stat.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk/mgcp_stat.c b/gtk/mgcp_stat.c
index 4e9e378d93..441ac7e917 100644
--- a/gtk/mgcp_stat.c
+++ b/gtk/mgcp_stat.c
@@ -2,7 +2,7 @@
* mgcp-statistics for ethereal
* Copyright 2003 Lars Roland
*
- * $Id: mgcp_stat.c,v 1.32 2004/03/13 14:07:14 ulfl Exp $
+ * $Id: mgcp_stat.c,v 1.33 2004/03/27 11:13:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -303,7 +303,12 @@ gtk_mgcpstat_init(char *optarg)
retap_packets(&cfile);
}
-tap_dfilter_dlg mgcp_srt_dlg = {"MGCP Service Response Time (SRT) Statistics", "mgcp,srt", gtk_mgcpstat_init, -1};
+static tap_dfilter_dlg mgcp_srt_dlg = {
+ "MGCP Service Response Time (SRT) Statistics",
+ "mgcp,srt",
+ gtk_mgcpstat_init,
+ -1
+};
void
register_tap_listener_gtkmgcpstat(void)