summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bio
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2014-05-22 15:38:00 +0000
committerBob Beck <beck@cvs.openbsd.org>2014-05-22 15:38:00 +0000
commit5c60dad12580ba7d7e930de20c6006ec44dbfc06 (patch)
treea37c330472cafa60d457c9905070c9f129c8876b /lib/libcrypto/bio
parent79c2af24be6c4dcdb38c73a06177d1da312ad210 (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.h4
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 */