From c8cd13d8e9853752de5756ab42a98e2d0baff0a9 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Wed, 4 Jan 2023 00:30:28 -0500 Subject: Fix ddb warnings introduced with -Wstrict-prototypes Changed some ddb command functions to have the expected signature but not all of them due to the being difficult to inter-dependency between header files (for those just used cast). Message-Id: --- ddb/db_variables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ddb/db_variables.c') diff --git a/ddb/db_variables.c b/ddb/db_variables.c index af982e12..3e20e689 100644 --- a/ddb/db_variables.c +++ b/ddb/db_variables.c @@ -183,7 +183,7 @@ db_read_write_variable( int rw_flag, db_var_aux_param_t ap) { - void (*func)() = vp->fcn; + void (*func)(struct db_variable *, db_expr_t *, int, db_var_aux_param_t) = vp->fcn; struct db_var_aux_param aux_param; if (ap == 0) { -- cgit v1.2.3