projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: shadowed local variable (-Wshadow)
[userspace-rcu.git]
/
tests
/
benchmark
/
test_urcu_wfcq.c
diff --git
a/tests/benchmark/test_urcu_wfcq.c
b/tests/benchmark/test_urcu_wfcq.c
index 6b5e9331ab7ab2b01aaaee9a66a0d25fc5441aa0..96045c7ed7535038a6fb66541f0c2302ec08b69f 100644
(file)
--- a/
tests/benchmark/test_urcu_wfcq.c
+++ b/
tests/benchmark/test_urcu_wfcq.c
@@
-308,8
+308,8
@@
static void *thr_dequeuer(void *_count)
return ((void*)2);
}
return ((void*)2);
}
-static void test_end(unsigned long long *nr_dequeues,
- unsigned long long *nr_dequeue_last)
+static void test_end(unsigned long long *nr_dequeues
_l
,
+ unsigned long long *nr_dequeue_last
_l
)
{
struct cds_wfcq_node *node;
int state;
{
struct cds_wfcq_node *node;
int state;
@@
-319,9
+319,9
@@
static void test_end(unsigned long long *nr_dequeues,
&state);
if (node) {
if (state & CDS_WFCQ_STATE_LAST)
&state);
if (node) {
if (state & CDS_WFCQ_STATE_LAST)
- (*nr_dequeue_last)++;
+ (*nr_dequeue_last
_l
)++;
free(node);
free(node);
- (*nr_dequeues)++;
+ (*nr_dequeues
_l
)++;
}
} while (node);
}
}
} while (node);
}
This page took
0.02406 seconds
and
4
git commands to generate.