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/rand/rand.h | |
parent | 22a415478fa196d08a33a3be3f2e20a49b2ef43a (diff) | |
download | openssl-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/rand/rand.h')
-rw-r--r-- | crypto/rand/rand.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index 2973ee90e4..b4b12c2d74 100644 --- a/crypto/rand/rand.h +++ b/crypto/rand/rand.h @@ -90,12 +90,26 @@ int RAND_write_file(const char *file); const char *RAND_file_name(char *file,int num); int RAND_status(void); int RAND_egd(const char *path); +void ERR_load_RAND_strings(void); + +#ifdef __cplusplus +} +#endif + #if defined(WINDOWS) || defined(WIN32) #include <windows.h> + +#ifdef __cplusplus +extern "C" { +#endif + void RAND_screen(void); int RAND_event(UINT, WPARAM, LPARAM); + +#ifdef __cplusplus +} +#endif #endif -void ERR_load_RAND_strings(void); /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes @@ -110,8 +124,5 @@ void ERR_load_RAND_strings(void); /* Reason codes. */ #define RAND_R_PRNG_NOT_SEEDED 100 -#ifdef __cplusplus -} -#endif #endif |