summaryrefslogtreecommitdiff
path: root/examples/access_properties_and_parameters.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2022-10-26 17:45:42 +0200
committerAllen Winter <allen.winter@kdab.com>2022-11-13 12:31:06 -0500
commit7d701ff5ba1425895ac138be6ec0a177ec26c1ce (patch)
tree74e75f28b00fe2ea2c430672ff6ea68ed8b8793d /examples/access_properties_and_parameters.c
parentf9b2c34a551d461d065bf868e218f3df560be93f (diff)
downloadlibical-git-7d701ff5ba1425895ac138be6ec0a177ec26c1ce.tar.gz
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
Diffstat (limited to 'examples/access_properties_and_parameters.c')
-rw-r--r--examples/access_properties_and_parameters.c2
1 files changed, 1 insertions, 1 deletions
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;