X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Flist.h;h=e605ce1058c75ad2c61ada93941f1f8afdc2cc2a;hb=6075fb8c185d0461070a9f16288e9d3673708735;hp=511b64a4f17ec4eb7b877269597a55e0de025804;hpb=244002d83466a85ac4fbb5327e26a60fe44168fd;p=tinc diff --git a/src/list.h b/src/list.h index 511b64a4..e605ce10 100644 --- a/src/list.h +++ b/src/list.h @@ -45,7 +45,7 @@ typedef struct list_t { /* (De)constructors */ -extern list_t *list_alloc(list_action_t delete) __attribute__((__malloc__)); +extern list_t *list_alloc(list_action_t delete) ATTR_MALLOC; extern void list_free(list_t *list); extern list_node_t *list_alloc_node(void); extern void list_free_node(list_t *list, list_node_t *node);