diff options
author | Rich Salz <rsalz@akamai.com> | 2014-08-27 15:28:08 -0400 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2014-08-27 21:35:32 -0400 |
commit | 17e80c6bd05de7406a65116f34ed59665607d8d5 (patch) | |
tree | 62f3fbd5755cd016cfae2c1f3beffff2365cd40d /crypto/ebcdic.h | |
parent | 7b3e11c54466f1da8b707c932e308d345fd61101 (diff) | |
download | openssl-17e80c6bd05de7406a65116f34ed59665607d8d5.tar.gz |
RT2308: Add extern "C" { ... } wrapper
Add the wrapper to all public header files (Configure
generates one). Don't bother for those that are just
lists of #define's that do renaming.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/ebcdic.h')
-rw-r--r-- | crypto/ebcdic.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/ebcdic.h b/crypto/ebcdic.h index 6d65afcf9e..85f3cf7f66 100644 --- a/crypto/ebcdic.h +++ b/crypto/ebcdic.h @@ -5,6 +5,10 @@ #include <sys/types.h> +#ifdef __cplusplus +extern "C" { +#endif + /* Avoid name clashes with other applications */ #define os_toascii _openssl_os_toascii #define os_toebcdic _openssl_os_toebcdic @@ -16,4 +20,7 @@ extern const unsigned char os_toebcdic[256]; void *ebcdic2ascii(void *dest, const void *srce, size_t count); void *ascii2ebcdic(void *dest, const void *srce, size_t count); +#ifdef __cplusplus +} +#endif #endif |