From 7d701ff5ba1425895ac138be6ec0a177ec26c1ce Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 26 Oct 2022 17:45:42 +0200 Subject: misc: Update sources to more modern C The code fails to build when having enabled (gcc) warnings: -Werror=implicit -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=strict-prototypes --- examples/access_properties_and_parameters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/access_properties_and_parameters.c') diff --git a/examples/access_properties_and_parameters.c b/examples/access_properties_and_parameters.c index 1f0f92f1..04df481a 100644 --- a/examples/access_properties_and_parameters.c +++ b/examples/access_properties_and_parameters.c @@ -99,7 +99,7 @@ void update_attendees(icalcomponent* event) /* Here are some examples of manipulating properties */ -void test_properties() +void test_properties(void) { icalproperty *prop; icalparameter *param; -- cgit v1.2.1