From 3af7f28931f99c358de3b35af0d68b11e8464721 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 12 Mar 2012 02:53:21 +0000 Subject: [PATCH] capture_opts_add_iface_opt() is not used outside capture_opts.c; make it static. svn path=/trunk/; revision=41494 --- capture_opts.c | 2 +- capture_opts.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/capture_opts.c b/capture_opts.c index 10e6183847..f2ee8245bf 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -436,7 +436,7 @@ get_auth_arguments(capture_options *capture_opts, const char *arg) } #endif -int +static int capture_opts_add_iface_opt(capture_options *capture_opts, const char *optarg_str_p) { long adapter_index; diff --git a/capture_opts.h b/capture_opts.h index 5e0d2e56ea..c8f65747dc 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -240,9 +240,6 @@ capture_opts_init(capture_options *capture_opts, void *cf); extern int capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg, gboolean *start_capture); -extern int -capture_opts_add_iface_opt(capture_options *capture_opts, const char *optarg_str_p); - /* log content of capture_opts */ extern void capture_opts_log(const char *log_domain, GLogLevelFlags log_level, capture_options *capture_opts);