summaryrefslogtreecommitdiffstats
path: root/crypto/ebcdic.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2003-10-29 22:25:04 +0000
committerGeoff Thorpe <geoff@openssl.org>2003-10-29 22:25:04 +0000
commit06e4024d98a8e142e354619a844c51429ed94bb6 (patch)
tree3ec65e73b3788bc094eba645d85ea4c00a0e6d39 /crypto/ebcdic.c
parent8087d8f7ea077445ffce6dc7ac0cbbe4dcdcb2ee (diff)
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.c13
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