Add a __printflike() that would have caught the bug fixed in r314396.

This commit is contained in:
Dag-Erling Smørgrav 2017-03-12 11:54:35 +00:00
parent 971c1c4219
commit 64c422355d

View File

@ -73,7 +73,7 @@ struct iovec;
void fetch_seterr(struct fetcherr *, int);
void fetch_syserr(void);
void fetch_info(const char *, ...);
void fetch_info(const char *, ...) __printflike(1, 2);
int fetch_default_port(const char *);
int fetch_default_proxy_port(const char *);
struct addrinfo *fetch_resolve(const char *, int, int);