From 7508d6663967816633beeeba55696d8c33e106c0 Mon Sep 17 00:00:00 2001 From: Sven Klemm Date: Mon, 19 Sep 2022 17:57:32 +0200 Subject: [PATCH] Fix gapfill function signature Very recent compilers will warn about function pointers with empty argument list. While currently in C func() means a function with an unspecified argument list the next version of the C standard will change this to mean func(void). --- tsl/src/nodes/gapfill/gapfill_plan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsl/src/nodes/gapfill/gapfill_plan.c b/tsl/src/nodes/gapfill/gapfill_plan.c index 4159418be..549d4d499 100644 --- a/tsl/src/nodes/gapfill/gapfill_plan.c +++ b/tsl/src/nodes/gapfill/gapfill_plan.c @@ -199,7 +199,8 @@ static CustomPathMethods gapfill_path_methods = { }; static bool -gapfill_expression_walker(Expr *node, bool (*walker)(), gapfill_walker_context *context) +gapfill_expression_walker(Expr *node, bool (*walker)(Node *, gapfill_walker_context *), + gapfill_walker_context *context) { context->count = 0; context->call.node = NULL;