]> tinc-vpn.org Git - tinc/blobdiff - src/protocol.h
Disable function attributes on unsupported compilers
[tinc] / src / protocol.h
index fd1676cb10a81a8c0dc2f8f9c6aa511043218e27..392a1fe8578057be26ac81ac7df68bf8f9fd250f 100644 (file)
@@ -80,7 +80,7 @@ extern ecdsa_t *invitation_key;
 
 /* Basic functions */
 
-extern bool send_request(struct connection_t *c, const char *format, ...) __attribute__((__format__(printf, 2, 3)));
+extern bool send_request(struct connection_t *c, const char *format, ...) ATTR_FORMAT(printf, 2, 3);
 extern void forward_request(struct connection_t *c, const char *request);
 extern bool receive_request(struct connection_t *c, const char *request);