X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsubnet.h;h=016aa54792ef431f8d3e1dab522ec0f9274ef963;hb=e62fd508158749a0d55eae06c2e361df5d6da6e0;hp=ad0a8b8d1827d99d1298f5166d2cffee6c9c3a14;hpb=9a018c2e371eb1cef9708ac71653f2f2868895fa;p=tinc diff --git a/src/subnet.h b/src/subnet.h index ad0a8b8d..016aa547 100644 --- a/src/subnet.h +++ b/src/subnet.h @@ -65,7 +65,7 @@ typedef struct subnet_t { extern splay_tree_t subnet_tree; extern int subnet_compare(const struct subnet_t *a, const struct subnet_t *b); -extern subnet_t *new_subnet(void) __attribute__((__malloc__)); +extern subnet_t *new_subnet(void) ATTR_MALLOC; extern void free_subnet(subnet_t *subnet); extern void init_subnets(void); extern void exit_subnets(void);