Split out architecture-dependent definitions into api.h and arch.h.
[urcu.git] / api.h
diff --git a/api.h b/api.h
index 230c11d2970fc0daddc53d76fd5eef2ea828df62..8bc52e828729c7668c5dc46258bf9b4a00b51571 100644 (file)
--- a/api.h
+++ b/api.h
@@ -1,5 +1,7 @@
 /* MECHANICALLY GENERATED, DO NOT EDIT!!! */
 
+#define _INCLUDE_API_H
+
 /*
  * common.h: Common Linux kernel-isms.
  *
@@ -148,7 +150,7 @@ static __inline__ int atomic_sub_and_test(int i, atomic_t *v)
  * 
  * Atomically increments @v by 1.
  */ 
-static __inline__ void __atomic_inc(atomic_t *v)
+static __inline__ void atomic_inc(atomic_t *v)
 {
        __asm__ __volatile__(
                LOCK_PREFIX "incl %0"
This page took 0.022704 seconds and 4 git commands to generate.