Add back urcu-futex.h and urcu_ref.h for slow deprecation
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 10 Jun 2011 23:17:25 +0000 (19:17 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 10 Jun 2011 23:17:25 +0000 (19:17 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile.am
urcu/urcu-futex.h [new file with mode: 0644]
urcu/urcu_ref.h [new file with mode: 0644]

index d333ae54f657b025e3dfe7d57c4cc2a7aad7fa2c..db367df7b30327b945918f325c771022e596e10b 100644 (file)
@@ -13,7 +13,8 @@ nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
                urcu/rculist.h urcu/rcuhlist.h urcu/system.h urcu/futex.h \
                urcu/uatomic/generic.h urcu/arch/generic.h urcu/wfstack.h \
                urcu/wfqueue.h urcu/rculfstack.h urcu/rculfqueue.h \
-               urcu/ref.h urcu/map/*.h urcu/static/*.h urcu/cds.h
+               urcu/ref.h urcu/map/*.h urcu/static/*.h urcu/cds.h \
+               urcu/urcu_ref.h urcu/urcu-futex.h
 nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic.h urcu/config.h
 
 EXTRA_DIST = $(top_srcdir)/urcu/arch/*.h $(top_srcdir)/urcu/uatomic/*.h \
diff --git a/urcu/urcu-futex.h b/urcu/urcu-futex.h
new file mode 100644 (file)
index 0000000..a1abffb
--- /dev/null
@@ -0,0 +1,2 @@
+#warning "urcu/urcu-futex.h is deprecated. Please include urcu/futex.h instead."
+#include <urcu/futex.h>
diff --git a/urcu/urcu_ref.h b/urcu/urcu_ref.h
new file mode 100644 (file)
index 0000000..5579ca6
--- /dev/null
@@ -0,0 +1,2 @@
+#warning "urcu/urcu_ref.h is deprecated. Please include urcu/ref.h instead."
+#include <urcu/ref.h>
This page took 0.035001 seconds and 4 git commands to generate.