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/netpgpverify Mark obuf_p...



details:   https://anonhg.NetBSD.org/src/rev/045fe61b9e5c
branches:  trunk
changeset: 345924:045fe61b9e5c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Jun 15 15:47:50 2016 +0000

description:
Mark obuf_printf as printf-like.

diffstat:

 crypto/external/bsd/netpgp/dist/src/netpgpverify/libverify.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r f265e264618d -r 045fe61b9e5c crypto/external/bsd/netpgp/dist/src/netpgpverify/libverify.c
--- a/crypto/external/bsd/netpgp/dist/src/netpgpverify/libverify.c      Wed Jun 15 14:47:23 2016 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/netpgpverify/libverify.c      Wed Jun 15 15:47:50 2016 +0000
@@ -211,6 +211,7 @@
 }
 
 /* varargs-based printf to string */
+__printflike(2, 3)
 static bool
 obuf_printf(obuf_t *obuf, const char *fmt, ...)
 {



Home | Main Index | Thread Index | Old Index