X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Furcu-defer-impl.h;h=8b5ad972421d52f523f18146a3a1a068c2bcb661;hb=a0ec6d9b6b67e37fc81c98e04008907bc500cde8;hp=f96553365ba4f51035f427798edd2ac4eb981f13;hpb=6893800a4d1cc14dff0395ddcd660a5138db183d;p=urcu.git diff --git a/src/urcu-defer-impl.h b/src/urcu-defer-impl.h index f965533..8b5ad97 100644 --- a/src/urcu-defer-impl.h +++ b/src/urcu-defer-impl.h @@ -50,6 +50,7 @@ #include #include #include "urcu-die.h" +#include "urcu-utils.h" /* * Number of entries in the per-thread defer queue. Must be power of 2. @@ -107,7 +108,7 @@ struct defer_queue { }; /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ -#include "urcu-defer.h" +#include void __attribute__((destructor)) rcu_defer_exit(void); @@ -371,7 +372,7 @@ static void _defer_rcu(void (*fct)(void *p), void *p) wake_up_defer(); } -static void *thr_defer(void *args) +static void *thr_defer(void *args __attribute__((unused))) { for (;;) { /*