Add a __printflike() that would have caught the bug fixed in r314396.
This commit is contained in:
parent
971c1c4219
commit
64c422355d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user