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