projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove extra LDFLAGS from makefile
[urcu.git]
/
urcu-defer.c
diff --git
a/urcu-defer.c
b/urcu-defer.c
index 13f94fa0f05b05833152265da9147bdb456e88b6..f0dec91b6f5315d7430e749648fd6c315fa160c0 100644
(file)
--- a/
urcu-defer.c
+++ b/
urcu-defer.c
@@
-28,7
+28,6
@@
#include <string.h>
#include <errno.h>
#include <poll.h>
#include <string.h>
#include <errno.h>
#include <poll.h>
-#include <linux/futex.h>
#include <sys/time.h>
#include <syscall.h>
#include <unistd.h>
#include <sys/time.h>
#include <syscall.h>
#include <unistd.h>
@@
-38,6
+37,8
@@
#include "urcu-defer.h"
#define futex(...) syscall(__NR_futex, __VA_ARGS__)
#include "urcu-defer.h"
#define futex(...) syscall(__NR_futex, __VA_ARGS__)
+#define FUTEX_WAIT 0
+#define FUTEX_WAKE 1
void __attribute__((destructor)) urcu_defer_exit(void);
void __attribute__((destructor)) urcu_defer_exit(void);
This page took
0.023173 seconds
and
4
git commands to generate.