summaryrefslogtreecommitdiff
path: root/capture_opts.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-06-20 00:09:47 +0000
committerGuy Harris <guy@alum.mit.edu>2008-06-20 00:09:47 +0000
commite731e24b51a26a4c10098292b5eb5ebc4d202780 (patch)
treee0ff8b126c891c723b754fb1202cac2e8ca4e775 /capture_opts.h
parent01de1202bcadfadeb42dfb11160088a09a588428 (diff)
downloadwireshark-e731e24b51a26a4c10098292b5eb5ebc4d202780.tar.gz
capture_opts_print_statistics() has nothing to do with capture options
setting, and is used only in dumpcap.c, and needs to get at information set by dumpcap's signal handlers so it can respond to ^C; move it to dumpcap.c, rename it print_statistics_loop(), and make it set ld.go to TRUE before looping and loop only as long as ld.go is TRUE. That fixes bug 2592 (at least on Mac OS X, and probably on other UN*Xes; it should fix it on Windows as well). svn path=/trunk/; revision=25492
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/capture_opts.h b/capture_opts.h
index 7b91c09473..00a6523738 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -175,10 +175,6 @@ capture_opts_list_link_layer_types(capture_options *capture_opts, gboolean machi
extern int
capture_opts_list_interfaces(gboolean machine_readable);
-/* print interface statistics */
-extern int
-capture_opts_print_statistics(gboolean machine_readable);
-
/* trim the snaplen entry */
extern void
capture_opts_trim_snaplen(capture_options *capture_opts, int snaplen_min);