aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2021-01-25 00:38:29 +0100
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2021-01-25 00:40:23 +0100
commitfc9de36f333448405ade402e2ebaaaae3075d82c (patch)
treeb41a8ea2ffd0c662cdafce27b24a22936661b2ad
parent9eed1e8f0e14ce9725fd676d471195fb1960865f (diff)
downloadembedlog-fc9de36f333448405ade402e2ebaaaae3075d82c.tar.gz
embedlog-fc9de36f333448405ade402e2ebaaaae3075d82c.tar.bz2
embedlog-fc9de36f333448405ade402e2ebaaaae3075d82c.zip
examples/print-options.c: fix functions prototype
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r--examples/print-options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/print-options.c b/examples/print-options.c
index 1fb2bcb..fd2450d 100644
--- a/examples/print-options.c
+++ b/examples/print-options.c
@@ -7,9 +7,9 @@
#define EL_OPTIONS_OBJECT &opts
-void like_this() { el_print(ELN, "yup, I really like this!"); }
-void or_this() { el_print(ELN, "this I like too"); }
-void too_long_function_to_present_trimming_but_it_could_be_impossible()
+void like_this(void) { el_print(ELN, "yup, I really like this!"); }
+void or_this(void) { el_print(ELN, "this I like too"); }
+void too_long_function_to_present_trimming_but_it_could_be_impossible(void)
{
el_print(ELN, "trimmed (I hope) function name");
}