X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Frculfhash%2Fcds_lfht_add_replace.c;fp=doc%2Fexamples%2Frculfhash%2Fcds_lfht_add_replace.c;h=363ea5b60c62118a55ef59291dcc67ff2391bea7;hb=5eedd745bb2a1ebdc44e9a96875944ee345242fb;hp=3b64ee00980fda6aa73230994b16b10195ca676c;hpb=b852d0e6c8725a4f8507f397a74650f4fafa30eb;p=userspace-rcu.git diff --git a/doc/examples/rculfhash/cds_lfht_add_replace.c b/doc/examples/rculfhash/cds_lfht_add_replace.c index 3b64ee0..363ea5b 100644 --- a/doc/examples/rculfhash/cds_lfht_add_replace.c +++ b/doc/examples/rculfhash/cds_lfht_add_replace.c @@ -54,7 +54,7 @@ void free_node(struct rcu_head *head) free(node); } -int main(int argc, char **argv) +int main(void) { int values[] = { -5, 42, 42, 36, 24, }; /* 42 is duplicated */ struct cds_lfht *ht; /* Hash table */