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]
/
tests
/
benchmark
/
test_urcu_hash_unique.c
diff --git
a/tests/benchmark/test_urcu_hash_unique.c
b/tests/benchmark/test_urcu_hash_unique.c
index f03adfd6daa03477824618a60dc6bc9963b8abf5..de7c427e4a1c3088b84cacd6232467f75f31fdfa 100644
(file)
--- a/
tests/benchmark/test_urcu_hash_unique.c
+++ b/
tests/benchmark/test_urcu_hash_unique.c
@@
-30,7
+30,7
@@
enum urcu_hash_addremove {
static enum urcu_hash_addremove addremove; /* 1: add, -1 remove, 0: random */
static enum urcu_hash_addremove addremove; /* 1: add, -1 remove, 0: random */
-void test_hash_unique_sigusr1_handler(int signo)
+void test_hash_unique_sigusr1_handler(int signo
__attribute__((unused))
)
{
switch (addremove) {
case AR_ADD:
{
switch (addremove) {
case AR_ADD:
@@
-48,7
+48,7
@@
void test_hash_unique_sigusr1_handler(int signo)
}
}
}
}
-void test_hash_unique_sigusr2_handler(int signo)
+void test_hash_unique_sigusr2_handler(int signo
__attribute__((unused))
)
{
char msg[1] = { 0x42 };
ssize_t ret;
{
char msg[1] = { 0x42 };
ssize_t ret;
This page took
0.023896 seconds
and
4
git commands to generate.