projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: include 'sys/endian.h' on FreeBSD
[userspace-rcu.git]
/
doc
/
examples
/
hlist
/
cds_hlist_add_head_rcu.c
diff --git
a/doc/examples/hlist/cds_hlist_add_head_rcu.c
b/doc/examples/hlist/cds_hlist_add_head_rcu.c
index bfe71c4263680bdf8b81132908d191699c197535..3aece5ef1cdc55ed87d615e3fcde51fd29392f20 100644
(file)
--- a/
doc/examples/hlist/cds_hlist_add_head_rcu.c
+++ b/
doc/examples/hlist/cds_hlist_add_head_rcu.c
@@
-28,7
+28,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 */
This page took
0.022487 seconds
and
4
git commands to generate.