diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-03-27 11:13:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-03-27 11:13:03 +0000 |
commit | e85f05b0ec016d1b5bf9ef22d916fed2e711e814 (patch) | |
tree | 5c7ba3d8a6ca6cfef12e328b217f7c433b94982f /gtk/h225_ras_srt.c | |
parent | 9925eb8ff3c5f569096b9a84bfad817f5acf4295 (diff) | |
download | wireshark-e85f05b0ec016d1b5bf9ef22d916fed2e711e814.tar.gz wireshark-e85f05b0ec016d1b5bf9ef22d916fed2e711e814.tar.bz2 wireshark-e85f05b0ec016d1b5bf9ef22d916fed2e711e814.zip |
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.
svn path=/trunk/; revision=10500
Diffstat (limited to 'gtk/h225_ras_srt.c')
-rw-r--r-- | gtk/h225_ras_srt.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gtk/h225_ras_srt.c b/gtk/h225_ras_srt.c index e2ef694f2f..a32caf0d87 100644 --- a/gtk/h225_ras_srt.c +++ b/gtk/h225_ras_srt.c @@ -2,7 +2,7 @@ * h225 RAS Service Response Time statistics for ethereal * Copyright 2003 Lars Roland * - * $Id: h225_ras_srt.c,v 1.14 2004/03/13 14:07:13 ulfl Exp $ + * $Id: h225_ras_srt.c,v 1.15 2004/03/27 11:13:02 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -57,9 +57,14 @@ extern GtkWidget *main_display_filter_widget; -void gtk_h225rassrt_init(char *optarg); +static void gtk_h225rassrt_init(char *optarg); -tap_dfilter_dlg h225_rassrt_dlg = {"H.225 RAS Service Response Time", "h225,srt", gtk_h225rassrt_init, -1}; +static tap_dfilter_dlg h225_rassrt_dlg = { + "H.225 RAS Service Response Time", + "h225,srt", + gtk_h225rassrt_init, + -1 +}; /* following values represent the size of their valuestring arrays */ #define NUM_RAS_STATS 7 @@ -277,7 +282,7 @@ static gchar *titles[]={"RAS-Type", "Repeated Requests", "Repeated Responses" }; -void +static void gtk_h225rassrt_init(char *optarg) { h225rassrt_t *hs; |