Module Name: src Committed By: joerg Date: Tue Oct 28 21:35:57 UTC 2014
Modified Files: src/crypto/external/bsd/openssh/dist: sshbuf.h Log Message: Mark sshbuf_putfv as __printflike. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/openssh/dist/sshbuf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/external/bsd/openssh/dist/sshbuf.h diff -u src/crypto/external/bsd/openssh/dist/sshbuf.h:1.2 src/crypto/external/bsd/openssh/dist/sshbuf.h:1.3 --- src/crypto/external/bsd/openssh/dist/sshbuf.h:1.2 Sun Oct 19 16:30:59 2014 +++ src/crypto/external/bsd/openssh/dist/sshbuf.h Tue Oct 28 21:35:56 2014 @@ -161,7 +161,8 @@ int sshbuf_putb(struct sshbuf *buf, cons /* Append using a printf(3) format */ int sshbuf_putf(struct sshbuf *buf, const char *fmt, ...) __attribute__((format(printf, 2, 3))); -int sshbuf_putfv(struct sshbuf *buf, const char *fmt, va_list ap); +int sshbuf_putfv(struct sshbuf *buf, const char *fmt, va_list ap) + __printflike(2, 0); /* Functions to extract or store big-endian words of various sizes */ int sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp);