mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-20 03:26:55 +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) \
|
#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; \
|
||||||
|
Reference in New Issue
Block a user