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

This commit is contained in:
des 2017-03-12 11:54:35 +00:00
parent 6bed8a7a7e
commit dc93d1e0d8

View File

@ -73,7 +73,7 @@ struct iovec;
void fetch_seterr(struct fetcherr *, int); void fetch_seterr(struct fetcherr *, int);
void fetch_syserr(void); 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_port(const char *);
int fetch_default_proxy_port(const char *); int fetch_default_proxy_port(const char *);
struct addrinfo *fetch_resolve(const char *, int, int); struct addrinfo *fetch_resolve(const char *, int, int);