diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2014-05-22 15:38:00 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2014-05-22 15:38:00 +0000 |
commit | 2a256285a693951f163df835b842f8e7c0ea1e5f (patch) | |
tree | 45a00cc0eed7d7fdd265108a0101c0101dc2e9b8 | |
parent | 9d4a5d48dc7773dbf7babe30432deb7ace2a8b57 (diff) |
mark BIO_snprintf as deprecated, so warnings will be generated for it's
use. ok miod@ tedu@
-rw-r--r-- | lib/libssl/src/crypto/bio/bio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/bio/bio.h b/lib/libssl/src/crypto/bio/bio.h index ee0afb15533..ee3c1d5d225 100644 --- a/lib/libssl/src/crypto/bio/bio.h +++ b/lib/libssl/src/crypto/bio/bio.h @@ -759,10 +759,10 @@ BIO_vprintf(BIO *bio, const char *format, va_list args) __bio_h__attr__((__format__(__printf__, 2, 0))); int BIO_snprintf(char *buf, size_t n, const char *format, ...) -__bio_h__attr__((__format__(__printf__, 3, 4))); +__bio_h__attr__((deprecated, __format__(__printf__, 3, 4))); int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) -__bio_h__attr__((__format__(__printf__, 3, 0))); +__bio_h__attr__((deprecated, __format__(__printf__, 3, 0))); #undef __bio_h__attr__ /* BEGIN ERROR CODES */ |