projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/regression/rcutorture: Add wait state
[urcu.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 adbbde0db4f0c59ce751feec00cc4276763c57d3..de7c427e4a1c3088b84cacd6232467f75f31fdfa 100644
(file)
--- a/
tests/benchmark/test_urcu_hash_unique.c
+++ b/
tests/benchmark/test_urcu_hash_unique.c
@@
-20,7
+20,6
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#include "test_urcu_hash.h"
enum urcu_hash_addremove {
#include "test_urcu_hash.h"
enum urcu_hash_addremove {
@@
-31,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:
@@
-49,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.023053 seconds
and
4
git commands to generate.