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:53:37 +0100
commitd59f6d6c16c2d6c6cc7bb8cee36c14bc4609dffa (patch)
tree30bb3f732af4dbd8f04bf3bd295fd9b3a880b0b5
parent6b2bfa3f0f28d4f675cf2819447aec876f071d8d (diff)
downloadembedlog-d59f6d6c16c2d6c6cc7bb8cee36c14bc4609dffa.tar.gz
embedlog-d59f6d6c16c2d6c6cc7bb8cee36c14bc4609dffa.tar.bz2
embedlog-d59f6d6c16c2d6c6cc7bb8cee36c14bc4609dffa.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");
}