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

This commit is contained in:
Jenkins2
2018-01-29 10:07:33 -06:00
committed by Gerrit Code Review

View File

@@ -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; \