Line
Link Here
|
0 |
-- bluez-4.98.orig/lib/bluetooth.h |
0 |
++ bluez-4.98/lib/bluetooth.h |
Lines 113-119
enum {
Link Here
|
113 |
({ \ |
113 |
({ \ |
114 |
struct __attribute__((packed)) { \ |
114 |
struct __attribute__((packed)) { \ |
115 |
typeof(*(ptr)) __v; \ |
115 |
typeof(*(ptr)) __v; \ |
116 |
} *__p = (void *) (ptr); \ |
116 |
} *__p = (typeof(__p)) (ptr); \ |
117 |
__p->__v; \ |
117 |
__p->__v; \ |
118 |
}) |
118 |
}) |
119 |
|
119 |
|
Lines 121-127
enum {
Link Here
|
121 |
do { \ |
121 |
do { \ |
122 |
struct __attribute__((packed)) { \ |
122 |
struct __attribute__((packed)) { \ |
123 |
typeof(*(ptr)) __v; \ |
123 |
typeof(*(ptr)) __v; \ |
124 |
} *__p = (void *) (ptr); \ |
124 |
} *__p = (typeof(__p)) (ptr); \ |
125 |
__p->__v = (val); \ |
125 |
__p->__v = (val); \ |
126 |
} while(0) |
126 |
} while(0) |
127 |
|
127 |
|