From: Mathieu Desnoyers Date: Tue, 13 Jul 2010 20:31:47 +0000 (-0400) Subject: Add ifdef cond around headers X-Git-Tag: v0.4.7~19 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c3f74cb2ea6f1e395b2d0352ee6c62367144688c;p=urcu.git Add ifdef cond around headers Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/rculfqueue.h b/urcu/rculfqueue.h index 09e5d41..808a16b 100644 --- a/urcu/rculfqueue.h +++ b/urcu/rculfqueue.h @@ -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 */ diff --git a/urcu/rculfstack.h b/urcu/rculfstack.h index 48f6297..a9e624c 100644 --- a/urcu/rculfstack.h +++ b/urcu/rculfstack.h @@ -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 */ diff --git a/urcu/rcuwfstack.h b/urcu/rcuwfstack.h index 4bbe7c5..f9a45b2 100644 --- a/urcu/rcuwfstack.h +++ b/urcu/rcuwfstack.h @@ -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 */