* McKenney.
*/
-#define CDS_WFCQ_WOULDBLOCK ((void *) -1UL)
+#define CDS_WFCQ_WOULDBLOCK ((struct cds_wfcq_node *) -1UL)
enum cds_wfcq_ret {
CDS_WFCQ_RET_WOULDBLOCK = -1,
* struct cds_wfcq_head and struct __cds_wfcq_head on any of those two
* types.
*/
-typedef union __attribute__((__transparent_union__)) {
+typedef union {
struct __cds_wfcq_head *_h;
struct cds_wfcq_head *h;
-} cds_wfcq_head_ptr_t;
+} __attribute__((__transparent_union__)) cds_wfcq_head_ptr_t;
struct cds_wfcq_tail {
struct cds_wfcq_node *p;