projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6986d0e
)
bio.h update from HEAD.
author
Andy Polyakov
<appro@openssl.org>
Fri, 16 Dec 2005 21:24:59 +0000
(21:24 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Fri, 16 Dec 2005 21:24:59 +0000
(21:24 +0000)
PR: 1252
crypto/bio/bio.h
patch
|
blob
|
history
diff --git
a/crypto/bio/bio.h
b/crypto/bio/bio.h
index 7f49ccbe9dd6f7bb5e0b429d5e06ada8e996a12e..07333cf0b32e7b55efda90e2e9d719aaaa4b2f65 100644
(file)
--- a/
crypto/bio/bio.h
+++ b/
crypto/bio/bio.h
@@
-676,17
+676,20
@@
void BIO_copy_next_retry(BIO *b);
/*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/
/*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/
-#ifndef __GNUC__
-#define __attribute__(x)
+#ifdef __GNUC__
+# define __bio_h__attr__ __attribute__
+#else
+# define __bio_h__attr__(x)
#endif
int BIO_printf(BIO *bio, const char *format, ...)
#endif
int BIO_printf(BIO *bio, const char *format, ...)
- __
attribute
__((__format__(__printf__,2,3)));
+ __
bio_h__attr
__((__format__(__printf__,2,3)));
int BIO_vprintf(BIO *bio, const char *format, va_list args)
int BIO_vprintf(BIO *bio, const char *format, va_list args)
- __
attribute
__((__format__(__printf__,2,0)));
+ __
bio_h__attr
__((__format__(__printf__,2,0)));
int BIO_snprintf(char *buf, size_t n, const char *format, ...)
int BIO_snprintf(char *buf, size_t n, const char *format, ...)
- __
attribute
__((__format__(__printf__,3,4)));
+ __
bio_h__attr
__((__format__(__printf__,3,4)));
int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
- __attribute__((__format__(__printf__,3,0)));
+ __bio_h__attr__((__format__(__printf__,3,0)));
+#undef __bio_h__attr__
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes