Merge "headers: Consistent use of typeof and/or __typeof__."

pull/9/head
Jenkins2 8 years ago committed by Gerrit Code Review
commit ddc90b7da5

@ -854,7 +854,7 @@ struct { \
*/ */
#define AST_LIST_REMOVE(head, elm, field) \ #define AST_LIST_REMOVE(head, elm, field) \
({ \ ({ \
__typeof(elm) __elm = (elm); \ typeof(elm) __elm = (elm); \
if (__elm) { \ if (__elm) { \
if ((head)->first == __elm) { \ if ((head)->first == __elm) { \
(head)->first = __elm->field.next; \ (head)->first = __elm->field.next; \

Loading…
Cancel
Save