diff options
author | Milan Crha <mcrha@redhat.com> | 2022-10-26 17:45:42 +0200 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2022-11-13 12:31:06 -0500 |
commit | 7d701ff5ba1425895ac138be6ec0a177ec26c1ce (patch) | |
tree | 74e75f28b00fe2ea2c430672ff6ea68ed8b8793d /examples/access_properties_and_parameters.c | |
parent | f9b2c34a551d461d065bf868e218f3df560be93f (diff) | |
download | libical-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.c | 2 |
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; |