summaryrefslogtreecommitdiff
path: root/capture_opts.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-29 14:37:21 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-29 23:03:24 +0000
commitfe42762f236e23fefe47e67b6c248507d0ac5c8a (patch)
tree57947515414aa27789b5aea2b1e4d32c0da7e97e /capture_opts.c
parentdd63ae2b8c889aa91577efe4621e6d0fe5432a99 (diff)
downloadwireshark-fe42762f236e23fefe47e67b6c248507d0ac5c8a.tar.gz
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 <eapache@gmail.com> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c4
1 files changed, 2 insertions, 2 deletions
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 <capchild/capture_ifinfo.h>
#include "capture-pcap-util.h"
+#include <wsutil/clopts_common.h>
+#include <wsutil/cmdarg_err.h>
#include <wsutil/file_util.h>
static gboolean capture_opts_output_to_pipe(const char *save_file, gboolean *is_pipe);