projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: explicitly mark unused parameters (-Wunused-parameter)
[userspace-rcu.git]
/
doc
/
examples
/
list
/
cds_list_replace_rcu.c
diff --git
a/doc/examples/list/cds_list_replace_rcu.c
b/doc/examples/list/cds_list_replace_rcu.c
index 39202ea9f41da34a652664988c2d8dc3bf99fab2..aa6161c25810d57db5947244e897ad6927f377f1 100644
(file)
--- a/
doc/examples/list/cds_list_replace_rcu.c
+++ b/
doc/examples/list/cds_list_replace_rcu.c
@@
-37,7
+37,7
@@
void free_node_rcu(struct rcu_head *head)
free(node);
}
free(node);
}
-int main(
int argc, char **argv
)
+int main(
void
)
{
int values[] = { -5, 42, 36, 24, };
CDS_LIST_HEAD(mylist); /* Defines an empty list head */
{
int values[] = { -5, 42, 36, 24, };
CDS_LIST_HEAD(mylist); /* Defines an empty list head */
This page took
0.024578 seconds
and
4
git commands to generate.