summaryrefslogtreecommitdiff
path: root/epan/report_err.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-01-28 18:45:46 +0000
committerBill Meier <wmeier@newsguy.com>2010-01-28 18:45:46 +0000
commit9d663d7081ba8204a3b43fcfb84a460a82c38ba0 (patch)
treebaadc97af6d6e836a3eea362eaea9c22bd80104b /epan/report_err.c
parent8a39d11aa1a70ca1c51317833c2e7d90441c5df8 (diff)
downloadwireshark-9d663d7081ba8204a3b43fcfb84a460a82c38ba0.tar.gz
Fix various gcc -Wshadow warnings.
svn path=/trunk/; revision=31720
Diffstat (limited to 'epan/report_err.c')
-rw-r--r--epan/report_err.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/report_err.c b/epan/report_err.c
index ca03bb210c..0cba843663 100644
--- a/epan/report_err.c
+++ b/epan/report_err.c
@@ -42,15 +42,15 @@ static void (*report_open_failure_func)(const char *, int, gboolean);
static void (*report_read_failure_func)(const char *, int);
static void (*report_write_failure_func)(const char *, int);
-void init_report_err(void (*report_failure)(const char *, va_list),
- void (*report_open_failure)(const char *, int, gboolean),
- void (*report_read_failure)(const char *, int),
- void (*report_write_failure)(const char *, int))
+void init_report_err(void (*report_failure_fcn_p)(const char *, va_list),
+ void (*report_open_failure_fcn_p)(const char *, int, gboolean),
+ void (*report_read_failure_fcn_p)(const char *, int),
+ void (*report_write_failure_fcn_p)(const char *, int))
{
- report_failure_func = report_failure;
- report_open_failure_func = report_open_failure;
- report_read_failure_func = report_read_failure;
- report_write_failure_func = report_write_failure;
+ report_failure_func = report_failure_fcn_p;
+ report_open_failure_func = report_open_failure_fcn_p;
+ report_read_failure_func = report_read_failure_fcn_p;
+ report_write_failure_func = report_write_failure_fcn_p;
}
/*