mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-19 19:20:35 +00:00
Merge "headers: Consistent use of typeof and/or __typeof__."
This commit is contained in:
@@ -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; \
|
||||
|
Reference in New Issue
Block a user