Add __printflike where necessary.

This commit is contained in:
joerg 2014-01-06 21:12:19 +00:00
parent 46f418f7e1
commit e371cb1bb3
2 changed files with 3 additions and 3 deletions

View File

@ -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 *);

View File

@ -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 *);