X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=doc%2Fexamples%2Fhlist%2Fcds_hlist_for_each_rcu.c;fp=doc%2Fexamples%2Fhlist%2Fcds_hlist_for_each_rcu.c;h=1628c669dec1d40d67bfe2b5b52bc2f3e2f9db1f;hp=fe31b54108cecc3eea6f1cb257a438fd507e06cb;hb=70469b43316ecc8d6053550504858ad8a8ef9b16;hpb=bd23a6c64e8ccff9a666441958e34793748ebd3a diff --git a/doc/examples/hlist/cds_hlist_for_each_rcu.c b/doc/examples/hlist/cds_hlist_for_each_rcu.c index fe31b54..1628c66 100644 --- a/doc/examples/hlist/cds_hlist_for_each_rcu.c +++ b/doc/examples/hlist/cds_hlist_for_each_rcu.c @@ -31,7 +31,7 @@ struct mynode { struct cds_hlist_node node; /* Linked-list chaining */ }; -int main(int argc, char **argv) +int main(void) { int values[] = { -5, 42, 36, 24, }; CDS_HLIST_HEAD(mylist); /* Defines an empty hlist head */