aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-20 00:09:47 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-20 00:09:47 +0000
commitf0104444c1b17dd5094c3942fb91a89d57056e02 (patch)
treee0ff8b126c891c723b754fb1202cac2e8ca4e775 /capture_opts.h
parent1da5602aeabf50bdc7859dca11b41e0fb6ad04f9 (diff)
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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25492 f5534014-38df-0310-8fa8-9805f1628bb7
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);