projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust shell scripts to allow Bash in other locations
[urcu.git]
/
tests
/
benchmark
/
test_urcu_hash_rw.c
diff --git
a/tests/benchmark/test_urcu_hash_rw.c
b/tests/benchmark/test_urcu_hash_rw.c
index d2bd0b4bf565dcc0dfda807785ae12efbd5ac396..862a6f0dc5e55a09528d9e58da81a7a7bfaf2a90 100644
(file)
--- a/
tests/benchmark/test_urcu_hash_rw.c
+++ b/
tests/benchmark/test_urcu_hash_rw.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_rw_sigusr1_handler(int signo)
+void test_hash_rw_sigusr1_handler(int signo
__attribute__((unused))
)
{
switch (addremove) {
case AR_ADD:
{
switch (addremove) {
case AR_ADD:
@@
-49,7
+48,7
@@
void test_hash_rw_sigusr1_handler(int signo)
}
}
}
}
-void test_hash_rw_sigusr2_handler(int signo)
+void test_hash_rw_sigusr2_handler(int signo
__attribute__((unused))
)
{
char msg[1] = { 0x42 };
ssize_t ret;
{
char msg[1] = { 0x42 };
ssize_t ret;
This page took
0.024072 seconds
and
4
git commands to generate.