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

index 529f6cae72062074f73cda7932835f1ebfd15e4e..6eeb2a1379850a19053155681389eb8e79234242 100644 (file)
@@ -12,7 +12,7 @@ urcutorture-yield
 urcu-yield.o
 tests/api.h
 urcu/arch.h
-urcu/uatomic_arch.h
+urcu/uatomic.h
 liburcu-defer.so
 liburcu-mb.so
 liburcu-qsbr.so
index db367df7b30327b945918f325c771022e596e10b..ba0a131cc46caaae4a563e557930119fea7336d6 100644 (file)
@@ -14,7 +14,7 @@ nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.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/urcu_ref.h urcu/urcu-futex.h
+               urcu/urcu_ref.h urcu/urcu-futex.h urcu/uatomic_arch.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/uatomic_arch.h b/urcu/uatomic_arch.h
new file mode 100644 (file)
index 0000000..baaa7a7
--- /dev/null
@@ -0,0 +1,2 @@
+#warning "urcu/uatomic_arch.h is deprecated. Please include urcu/uatomic.h instead."
+#include <urcu/uatomic.h>
This page took 0.027704 seconds and 4 git commands to generate.