X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol.h;h=392a1fe8578057be26ac81ac7df68bf8f9fd250f;hb=50c62f7235eacd3b88c59ead983e8be719fb7604;hp=4ea0c8c7c8e6a8bac22103167920a0c042e28dee;hpb=2c6b2d70e6640f39563ad7bb0aa0ba87f883848c;p=tinc diff --git a/src/protocol.h b/src/protocol.h index 4ea0c8c7..392a1fe8 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -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);