From 06e4024d98a8e142e354619a844c51429ed94bb6 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Wed, 29 Oct 2003 22:25:04 +0000 Subject: [PATCH] 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. --- crypto/ebcdic.c | 13 +++++++------ 1 file 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 +#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 * Adapted for OpenSSL-0.9.4 by @@ -212,9 +218,4 @@ ascii2ebcdic(void *dest, const void *srce, size_t count) return dest; } -#else /*CHARSET_EBCDIC*/ -#include -#if defined(PEDANTIC) || defined(__DECC) || defined(OPENSSL_SYS_MACOSX) -static void *dummy=&dummy; -#endif #endif -- 2.34.1