X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Fust%2Fcore.h;h=e781a3a6c5542e85f98898ee8beb3314be8869a8;hb=5389de4dde9f6c008db07d19ba6f721eb23a025a;hp=0172614331dfd4ae70bfe339c9447f75500ed33f;hpb=066b83b8dfc562e00cb61d39eca0e0f77242828c;p=ust.git diff --git a/include/ust/core.h b/include/ust/core.h index 0172614..e781a3a 100644 --- a/include/ust/core.h +++ b/include/ust/core.h @@ -141,7 +141,7 @@ static __inline__ int get_count_order(unsigned int count) return order; } -#define container_of(ptr, type, member) ({ \ +#define _ust_container_of(ptr, type, member) ({ \ const typeof( ((type *)0)->member ) *__mptr = (ptr); \ (type *)( (char *)__mptr - offsetof(type,member) );})