diff options
author | Richard Levitte <levitte@openssl.org> | 2000-05-02 12:16:01 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-05-02 12:16:01 +0000 |
commit | 82271cee5b6369c263213845f8a81be40d5d5585 (patch) | |
tree | 43a5b74770b864de29034a7954b98703b103b920 /crypto/conf | |
parent | 22a415478fa196d08a33a3be3f2e20a49b2ef43a (diff) |
"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/conf')
-rw-r--r-- | crypto/conf/conf.h | 8 | ||||
-rw-r--r-- | crypto/conf/conf_api.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h index 0ec58e1200..56b5f5c216 100644 --- a/crypto/conf/conf.h +++ b/crypto/conf/conf.h @@ -59,16 +59,16 @@ #ifndef HEADER_CONF_H #define HEADER_CONF_H -#ifdef __cplusplus -extern "C" { -#endif - #include <openssl/bio.h> #include <openssl/lhash.h> #include <openssl/stack.h> #include <openssl/safestack.h> #include <openssl/e_os.h> +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { char *section; diff --git a/crypto/conf/conf_api.h b/crypto/conf/conf_api.h index 05be7d8fb7..a5cc17b233 100644 --- a/crypto/conf/conf_api.h +++ b/crypto/conf/conf_api.h @@ -59,13 +59,13 @@ #ifndef HEADER_CONF_API_H #define HEADER_CONF_API_H +#include <openssl/lhash.h> +#include <openssl/conf.h> + #ifdef __cplusplus extern "C" { #endif -#include <openssl/lhash.h> -#include <openssl/conf.h> - /* Up until OpenSSL 0.9.5a, this was new_section */ CONF_VALUE *_CONF_new_section(CONF *conf, char *section); /* Up until OpenSSL 0.9.5a, this was get_section */ |