Add __printflike where necessary.
This commit is contained in:
parent
46f418f7e1
commit
e371cb1bb3
@ -135,7 +135,7 @@ const char *pgp_errcode(const pgp_errcode_t);
|
||||
void
|
||||
pgp_push_error(pgp_error_t **, pgp_errcode_t,
|
||||
int,
|
||||
const char *, int, const char *,...);
|
||||
const char *, int, const char *,...) __printflike(6, 7);
|
||||
void pgp_print_error(pgp_error_t *);
|
||||
void pgp_print_errors(pgp_error_t *);
|
||||
void pgp_free_errors(pgp_error_t *);
|
||||
|
@ -63,9 +63,9 @@ unsigned pgp_check_sig(const uint8_t *,
|
||||
|
||||
const char *pgp_get_info(const char *type);
|
||||
|
||||
int pgp_asprintf(char **, const char *, ...);
|
||||
int pgp_asprintf(char **, const char *, ...) __printflike(2, 3);
|
||||
|
||||
void netpgp_log(const char *, ...);
|
||||
void netpgp_log(const char *, ...) __printflike(1, 2);
|
||||
|
||||
int netpgp_strcasecmp(const char *, const char *);
|
||||
char *netpgp_strdup(const char *);
|
||||
|
Loading…
Reference in New Issue
Block a user