aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rc4/rc4.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-05-02 12:16:01 +0000
committerRichard Levitte <levitte@openssl.org>2000-05-02 12:16:01 +0000
commit82271cee5b6369c263213845f8a81be40d5d5585 (patch)
tree43a5b74770b864de29034a7954b98703b103b920 /crypto/rc4/rc4.h
parent22a415478fa196d08a33a3be3f2e20a49b2ef43a (diff)
downloadopenssl-82271cee5b6369c263213845f8a81be40d5d5585.tar.gz
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/rc4/rc4.h')
-rw-r--r--crypto/rc4/rc4.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/rc4/rc4.h b/crypto/rc4/rc4.h
index 8556dddab0..40251024a4 100644
--- a/crypto/rc4/rc4.h
+++ b/crypto/rc4/rc4.h
@@ -59,16 +59,16 @@
#ifndef HEADER_RC4_H
#define HEADER_RC4_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#ifdef NO_RC4
#error RC4 is disabled.
#endif
#include <openssl/opensslconf.h> /* RC4_INT */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct rc4_key_st
{
RC4_INT x,y;