diff options
author | Geoff Thorpe <geoff@openssl.org> | 2003-10-29 22:25:04 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2003-10-29 22:25:04 +0000 |
commit | 06e4024d98a8e142e354619a844c51429ed94bb6 (patch) | |
tree | 3ec65e73b3788bc094eba645d85ea4c00a0e6d39 /crypto/ebcdic.c | |
parent | 8087d8f7ea077445ffce6dc7ac0cbbe4dcdcb2ee (diff) | |
download | openssl-06e4024d98a8e142e354619a844c51429ed94bb6.tar.gz |
Oops, this file already had the "empty source file" workaround but it
requires -DPEDANTIC and was hidden at the bottom of the file. This moves it
to the top and removes the redundant declaration.
Diffstat (limited to 'crypto/ebcdic.c')
-rw-r--r-- | crypto/ebcdic.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/crypto/ebcdic.c b/crypto/ebcdic.c index 6ac5b39443..43e53bcaf7 100644 --- a/crypto/ebcdic.c +++ b/crypto/ebcdic.c @@ -1,8 +1,14 @@ /* crypto/ebcdic.c */ +#ifndef CHARSET_EBCDIC + +#include <openssl/e_os2.h> +#if defined(PEDANTIC) || defined(__DECC) || defined(OPENSSL_SYS_MACOSX) static void *dummy=&dummy; +#endif + +#else /*CHARSET_EBCDIC*/ -#ifdef CHARSET_EBCDIC #include "ebcdic.h" /* Initial Port for Apache-1.3 by <Martin.Kraemer@Mch.SNI.De> * Adapted for OpenSSL-0.9.4 by <Martin.Kraemer@Mch.SNI.De> @@ -212,9 +218,4 @@ ascii2ebcdic(void *dest, const void *srce, size_t count) return dest; } -#else /*CHARSET_EBCDIC*/ -#include <openssl/e_os2.h> -#if defined(PEDANTIC) || defined(__DECC) || defined(OPENSSL_SYS_MACOSX) -static void *dummy=&dummy; -#endif #endif |