Add ifdef cond around headers
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 13 Jul 2010 20:31:47 +0000 (16:31 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 13 Jul 2010 20:31:47 +0000 (16:31 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/rculfqueue.h
urcu/rculfstack.h
urcu/rcuwfstack.h

index 09e5d41ea0db7b7f40032419b070ed55daecdfdd..808a16b8f18f0fd63c016169f2fb643ab83ed9fa 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _URCU_RCULFQUEUE_H
+#define _URCU_RCULFQUEUE_H
+
 /*
  * rculfqueue.h
  *
@@ -137,3 +140,5 @@ rcu_lfq_dequeue(struct rcu_lfq_queue *q, void (*release)(struct urcu_ref *))
                }
        }
 }
+
+#endif /* _URCU_RCULFQUEUE_H */
index 48f6297eb5213dd82234b0a0e8bdd86d548d8a9c..a9e624ce792ee2b59ecb648084df5cda73a60e46 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _URCU_RCULFSTACK_H
+#define _URCU_RCULFSTACK_H
+
 /*
  * rculfstack.h
  *
@@ -95,3 +98,5 @@ rcu_lfs_pop(struct rcu_lfs_stack *s)
                }
        }
 }
+
+#endif /* _URCU_RCULFSTACK_H */
index 4bbe7c507679a07a6350ab65b8ea06f8107247c7..f9a45b2209af131fb80724e8e9fc317b094f5c9f 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _URCU_RCUWFSTACK_H
+#define _URCU_RCUWFSTACK_H
+
 /*
  * rcuwfstack.h
  *
@@ -110,3 +113,5 @@ rcu_wfs_pop(struct rcu_wfs_stack *s)
                }
        }
 }
+
+#endif /* _URCU_RCUWFSTACK_H */
This page took 0.026518 seconds and 4 git commands to generate.