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 | 5c60dad12580ba7d7e930de20c6006ec44dbfc06 (patch) | |
tree | a37c330472cafa60d457c9905070c9f129c8876b /lib/libcrypto/bio | |
parent | 79c2af24be6c4dcdb38c73a06177d1da312ad210 (diff) |
mark BIO_snprintf as deprecated, so warnings will be generated for it's
use. ok miod@ tedu@
Diffstat (limited to 'lib/libcrypto/bio')
-rw-r--r-- | lib/libcrypto/bio/bio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/bio/bio.h b/lib/libcrypto/bio/bio.h index ee0afb15533..ee3c1d5d225 100644 --- a/lib/libcrypto/bio/bio.h +++ b/lib/libcrypto/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 */ |