From ee6fabe168685b0a36295d3d071736a483bd33d8 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 10 Jun 2011 16:11:30 -0400 Subject: [PATCH] Installed headers should only include other headers with < > Signed-off-by: Mathieu Desnoyers --- Makefile.am | 3 ++- urcu-bp.h | 6 +++--- urcu-qsbr.h | 6 +++--- urcu.h | 6 +++--- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6a05346..7f52ca0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,8 @@ AM_CFLAGS=-Wall SUBDIRS = . tests -include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h +include_HEADERS = urcu.h urcu-bp.h urcu-call-rcu.h urcu-defer.h \ + urcu-pointer.h urcu-qsbr.h 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 \ diff --git a/urcu-bp.h b/urcu-bp.h index 763eb05..09ee9c9 100644 --- a/urcu-bp.h +++ b/urcu-bp.h @@ -47,7 +47,7 @@ extern "C" { #endif -#include "urcu/map/urcu-bp.h" +#include /* * Important ! @@ -118,7 +118,7 @@ static inline void rcu_init(void) } #endif -#include "urcu-call-rcu.h" -#include "urcu-defer.h" +#include +#include #endif /* _URCU_BP_H */ diff --git a/urcu-qsbr.h b/urcu-qsbr.h index 20dbf47..b362304 100644 --- a/urcu-qsbr.h +++ b/urcu-qsbr.h @@ -41,7 +41,7 @@ extern "C" { #endif -#include "urcu/map/urcu-qsbr.h" +#include /* * Important ! @@ -125,7 +125,7 @@ extern void rcu_unregister_thread(void); } #endif -#include "urcu-call-rcu.h" -#include "urcu-defer.h" +#include +#include #endif /* _URCU_QSBR_H */ diff --git a/urcu.h b/urcu.h index d4c8753..5728c07 100644 --- a/urcu.h +++ b/urcu.h @@ -44,7 +44,7 @@ extern "C" { #endif -#include "urcu/map/urcu.h" +#include /* * Important ! @@ -111,7 +111,7 @@ extern void rcu_init(void); } #endif -#include "urcu-call-rcu.h" -#include "urcu-defer.h" +#include +#include #endif /* _URCU_H */ -- 2.34.1