Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/lib Add __printflike whe...
details: https://anonhg.NetBSD.org/src/rev/e7ec1fb2ca76
branches: trunk
changeset: 325793:e7ec1fb2ca76
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Jan 06 21:12:19 2014 +0000
description:
Add __printflike where necessary.
diffstat:
crypto/external/bsd/netpgp/dist/src/lib/errors.h | 2 +-
crypto/external/bsd/netpgp/dist/src/lib/netpgpsdk.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2141ed8c094a -r e7ec1fb2ca76 crypto/external/bsd/netpgp/dist/src/lib/errors.h
--- a/crypto/external/bsd/netpgp/dist/src/lib/errors.h Mon Jan 06 16:42:57 2014 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/errors.h Mon Jan 06 21:12:19 2014 +0000
@@ -135,7 +135,7 @@
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 *);
diff -r 2141ed8c094a -r e7ec1fb2ca76 crypto/external/bsd/netpgp/dist/src/lib/netpgpsdk.h
--- a/crypto/external/bsd/netpgp/dist/src/lib/netpgpsdk.h Mon Jan 06 16:42:57 2014 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/netpgpsdk.h Mon Jan 06 21:12:19 2014 +0000
@@ -63,9 +63,9 @@
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 *);
Home |
Main Index |
Thread Index |
Old Index