summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/list_splice.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/list_splice.c')
-rw-r--r--misc/examples/list_splice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/list_splice.c b/misc/examples/list_splice.c
index 25c2a42d..f1fd6e1f 100644
--- a/misc/examples/list_splice.c
+++ b/misc/examples/list_splice.c
@@ -13,7 +13,7 @@ void print_ilist(const char* s, clist_i list)
puts("");
}
-int main ()
+int main(void)
{
clist_i list1 = c_init(clist_i, {1, 2, 3, 4, 5});
clist_i list2 = c_init(clist_i, {10, 20, 30, 40, 50});