]> granicus.if.org Git - openssl/commitdiff
Oops, this file already had the "empty source file" workaround but it
authorGeoff Thorpe <geoff@openssl.org>
Wed, 29 Oct 2003 22:25:04 +0000 (22:25 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Wed, 29 Oct 2003 22:25:04 +0000 (22:25 +0000)
requires -DPEDANTIC and was hidden at the bottom of the file. This moves it
to the top and removes the redundant declaration.

crypto/ebcdic.c

index 6ac5b394436b87215d8c5f083d1800e91a5d39c0..43e53bcaf7d97bb11e203ec735e7e6a4fafbffc7 100644 (file)
@@ -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