projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: rculist header: use parenthesis around macro parameters
[userspace-rcu.git]
/
doc
/
examples
/
lfstack
/
cds_lfs_pop_blocking.c
diff --git
a/doc/examples/lfstack/cds_lfs_pop_blocking.c
b/doc/examples/lfstack/cds_lfs_pop_blocking.c
index 07b21698c99b66e262d3635e970848b2eed5f7bb..f356423da6a4a0811fccf924ea2321f9b013d372 100644
(file)
--- a/
doc/examples/lfstack/cds_lfs_pop_blocking.c
+++ b/
doc/examples/lfstack/cds_lfs_pop_blocking.c
@@
-27,7
+27,7
@@
struct mynode {
struct cds_lfs_node node; /* Chaining in stack */
};
-int main(
int argc, char **argv
)
+int main(
void
)
{
int values[] = { -5, 42, 36, 24, };
struct cds_lfs_stack mystack; /* Stack */
@@
-71,5
+71,6
@@
int main(int argc, char **argv)
}
printf("\n");
end:
+ cds_lfs_destroy(&mystack);
return ret;
}
This page took
0.023453 seconds
and
4
git commands to generate.