headers: Consistent use of typeof and/or __typeof__.
[asterisk/asterisk.git] / include / asterisk / linkedlists.h
index 8715cf1..5f50c75 100644 (file)
@@ -854,7 +854,7 @@ struct {                                                            \
  */
 #define AST_LIST_REMOVE(head, elm, field)                                              \
        ({                                                                                                                      \
-               __typeof(elm) __elm = (elm);                                                    \
+               typeof(elm) __elm = (elm);                                                              \
                if (__elm) {                                                                                    \
                        if ((head)->first == __elm) {                                           \
                                (head)->first = __elm->field.next;                              \