aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-05-22 19:14:52 +0000
committerGuy Harris <guy@alum.mit.edu>2013-05-22 19:14:52 +0000
commit9ac21fd6cc55bc9bcfe71dcb696097b33b2664ed (patch)
treed0f7db92d950cc72aa4fa284e492ed212460de64 /tshark.c
parent491b512399e16bf727e94d2368dc05bc914a4733 (diff)
AAAAAArgh. The capture_input_new_XXX routines are called from
capture_sync.c, not from capture.c, so they should be declared in capture_sync.h, so callers that use the capture_sync.c stuff but not the capture.c stuff - such as TShark - get the declarations and get their implementations compared with the signatures that they should have. Doing so points out that some of them in TShark *don't*, so fix that. svn path=/trunk/; revision=49517
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tshark.c b/tshark.c
index a6f8be8b64..d6f09a0ddc 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2350,7 +2350,7 @@ void main_window_update(void)
/* capture child detected an error */
void
-capture_input_error_message(capture_options *capture_opts _U_, char *error_msg, char *secondary_error_msg)
+capture_input_error_message(capture_session *cap_session _U_, char *error_msg, char *secondary_error_msg)
{
cmdarg_err("%s", error_msg);
cmdarg_err_cont("%s", secondary_error_msg);
@@ -2359,8 +2359,9 @@ capture_input_error_message(capture_options *capture_opts _U_, char *error_msg,
/* capture child detected an capture filter related error */
void
-capture_input_cfilter_error_message(capture_options *capture_opts, guint i, char *error_message)
+capture_input_cfilter_error_message(capture_session *cap_session, guint i, char *error_message)
{
+ capture_options *capture_opts = cap_session->capture_opts;
dfilter_t *rfcode = NULL;
interface_options interface_opts;
@@ -2558,7 +2559,7 @@ report_counts_siginfo(int signum _U_)
/* capture child detected any packet drops? */
void
-capture_input_drops(capture_options *capture_opts _U_, guint32 dropped)
+capture_input_drops(capture_session *cap_session _U_, guint32 dropped)
{
if (print_packet_counts) {
/* We're printing packet counts to stderr.