X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.h;h=3965127ce0023f8317a74fa3284ae09da3c2d6b0;hb=6075fb8c185d0461070a9f16288e9d3673708735;hp=75b7024d86fc57756a7a988bf1c3736bf97b2f9e;hpb=244002d83466a85ac4fbb5327e26a60fe44168fd;p=tinc diff --git a/src/connection.h b/src/connection.h index 75b7024d..3965127c 100644 --- a/src/connection.h +++ b/src/connection.h @@ -114,7 +114,7 @@ extern connection_t *everyone; extern void init_connections(void); extern void exit_connections(void); -extern connection_t *new_connection(void) __attribute__((__malloc__)); +extern connection_t *new_connection(void) ATTR_MALLOC; extern void free_connection(connection_t *c); extern void connection_add(connection_t *c); extern void connection_del(connection_t *c);