From fe42762f236e23fefe47e67b6c248507d0ac5c8a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 29 Jun 2014 14:37:21 -0700 Subject: Move some more stuff into wsutil. Move the routines to parse numerical command-line arguments there. Make cmdarg_err() and cmdarg_err_cont() routines in wsutil that just call routines specified by a call to cmdarg_err_init(), and have programs supply the appropriate routines to it. Change-Id: Ic24fc758c0e647f4ff49eb91673529bcb9587b01 Reviewed-on: https://code.wireshark.org/review/2704 Reviewed-by: Evan Huus Reviewed-by: Guy Harris --- capture_opts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture_opts.c') diff --git a/capture_opts.c b/capture_opts.c index 6b17189e05..d9ec2d3e93 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -42,11 +42,11 @@ #include "capture_opts.h" #include "ringbuffer.h" -#include "clopts_common.h" -#include "cmdarg_err.h" #include #include "capture-pcap-util.h" +#include +#include #include static gboolean capture_opts_output_to_pipe(const char *save_file, gboolean *is_pipe); -- cgit v1.2.3