]> tinc-vpn.org Git - tinc/blobdiff - src/protocol.h
Disable function attributes on unsupported compilers
[tinc] / src / protocol.h
index 4ea0c8c7c8e6a8bac22103167920a0c042e28dee..392a1fe8578057be26ac81ac7df68bf8f9fd250f 100644 (file)
@@ -80,11 +80,10 @@ 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);
 
-extern void init_requests(void);
 extern void exit_requests(void);
 extern bool seen_request(const char *request);