projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add `urcu_posix_assert()` as `assert()` replacement
[userspace-rcu.git]
/
include
/
urcu
/
debug.h
diff --git
a/include/urcu/debug.h
b/include/urcu/debug.h
index 1920a7dd4f0a61c69ecd416c767d8ef9db73bb1d..41727f378e4368be2cd11c20f682bb3d4588618b 100644
(file)
--- a/
include/urcu/debug.h
+++ b/
include/urcu/debug.h
@@
-19,15
+19,7
@@
* all copies or substantial portions of the Software.
*/
* all copies or substantial portions of the Software.
*/
-#include <assert.h>
-
-#include <urcu/config.h>
-
-#if defined(DEBUG_RCU) || defined(CONFIG_RCU_DEBUG)
-# define urcu_assert_debug(...) assert(__VA_ARGS__)
-#else
-# define urcu_assert_debug(...)
-#endif
+#include <urcu/assert.h>
/*
* For backward compatibility reasons, this file must expose the urcu_assert()
/*
* For backward compatibility reasons, this file must expose the urcu_assert()
This page took
0.023967 seconds
and
4
git commands to generate.