X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.h;h=9431da547bfcc8245d07969de426ac33c7fe3d2d;hp=3c5b178d1a8254adb37331fea6b61698a58c459c;hb=cdcb92bbb9e54201e0982844e3ca9cb4fd9b31e5;hpb=5e7e64b952ac49cf61c4c3bfc02e5938c3691d94 diff --git a/urcu.h b/urcu.h index 3c5b178..9431da5 100644 --- a/urcu.h +++ b/urcu.h @@ -104,13 +104,7 @@ static inline void rcu_read_unlock(int urcu_parity) extern void rcu_write_lock(void); extern void rcu_write_unlock(void); -extern void *_urcu_publish_content(void **ptr, void *new); - -/* - * gcc does not like automatic &struct ... * -> void **. - * Remove the warning. (hopefully this is ok) - */ -#define urcu_publish_content(ptr, new) _urcu_publish_content((void **)ptr, new) +extern void *urcu_publish_content(void **ptr, void *new); /* * Reader thread registration.