diff options
author | Richard Levitte <levitte@openssl.org> | 2000-05-02 14:16:01 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-05-02 14:16:01 +0200 |
commit | 82271cee5b6369c263213845f8a81be40d5d5585 (patch) | |
tree | 43a5b74770b864de29034a7954b98703b103b920 /crypto/rc2 | |
parent | Add missing #include. (diff) | |
download | openssl-82271cee5b6369c263213845f8a81be40d5d5585.tar.xz openssl-82271cee5b6369c263213845f8a81be40d5d5585.zip |
In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order. Thusly fixed.
Diffstat (limited to 'crypto/rc2')
-rw-r--r-- | crypto/rc2/rc2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/rc2/rc2.h b/crypto/rc2/rc2.h index 9571efb755..099bc31b66 100644 --- a/crypto/rc2/rc2.h +++ b/crypto/rc2/rc2.h @@ -59,10 +59,6 @@ #ifndef HEADER_RC2_H #define HEADER_RC2_H -#ifdef __cplusplus -extern "C" { -#endif - #ifdef NO_RC2 #error RC2 is disabled. #endif @@ -74,6 +70,10 @@ extern "C" { #define RC2_BLOCK 8 #define RC2_KEY_LENGTH 16 +#ifdef __cplusplus +extern "C" { +#endif + typedef struct rc2_key_st { RC2_INT data[64]; |