From: Mathieu Desnoyers Date: Fri, 30 Nov 2018 22:08:13 +0000 (-0500) Subject: Update call-rcu.h and defer.h comments and include guards X-Git-Tag: v0.11.0~25 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=89d19b437b1467f98ecee4190d1160e99111671f Update call-rcu.h and defer.h comments and include guards Signed-off-by: Mathieu Desnoyers --- 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 */