X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.h;h=3965127ce0023f8317a74fa3284ae09da3c2d6b0;hb=ee988a6e3758994cb0552ef17f872e2530e7ceff;hp=75b7024d86fc57756a7a988bf1c3736bf97b2f9e;hpb=8c10a4131f19dc27b0bc56ef48ae481d1fa03cb0;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);