From 89d19b437b1467f98ecee4190d1160e99111671f Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 30 Nov 2018 17:08:13 -0500 Subject: [PATCH] Update call-rcu.h and defer.h comments and include guards Signed-off-by: Mathieu Desnoyers --- include/urcu/call-rcu.h | 10 ++++------ include/urcu/defer.h | 14 ++++++-------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/include/urcu/call-rcu.h b/include/urcu/call-rcu.h index 339ebac..fc63ecd 100644 --- a/include/urcu/call-rcu.h +++ b/include/urcu/call-rcu.h @@ -2,17 +2,15 @@ #define _URCU_CALL_RCU_H /* - * urcu-call-rcu.h + * urcu/call-rcu.h * - * Userspace RCU header - deferred execution + * Userspace RCU header - batch memory reclamation with kernel API * * Copyright (c) 2009 Mathieu Desnoyers * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. * - * LGPL-compatible code should include this header with : - * - * #define _LGPL_SOURCE - * #include + * This header is meant to be included indirectly through a liburcu + * flavor header. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/include/urcu/defer.h b/include/urcu/defer.h index 43eca34..67b5f80 100644 --- a/include/urcu/defer.h +++ b/include/urcu/defer.h @@ -1,18 +1,16 @@ -#ifndef _URCU_BATCH_H -#define _URCU_BATCH_H +#ifndef _URCU_DEFER_H +#define _URCU_DEFER_H /* - * urcu-defer.h + * urcu/defer.h * * Userspace RCU header - deferred execution * * Copyright (c) 2009 Mathieu Desnoyers * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. * - * LGPL-compatible code should include this header with : - * - * #define _LGPL_SOURCE - * #include + * This header is meant to be included indirectly through a liburcu + * flavor header. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -64,4 +62,4 @@ extern void rcu_defer_barrier_thread(void); } #endif -#endif /* _URCU_BATCH_H */ +#endif /* _URCU_DEFER_H */ -- 2.34.1