CryptoPkg OpenSslSupport.h: Do not instantiate data in an include file

Include files should never instantiate data.  Data should only
be referenced as an 'extern' within include files.

The previous code would generate a GCC warning, since the static
data items were not always referenced.

Signed-off-by: jljusten
Reviewed-by: qlong

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11608 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/CryptoPkg/Include/OpenSslSupport.h b/CryptoPkg/Include/OpenSslSupport.h
index 258854b..dc25fd7 100644
--- a/CryptoPkg/Include/OpenSslSupport.h
+++ b/CryptoPkg/Include/OpenSslSupport.h
@@ -1,7 +1,7 @@
 /** @file

   Root include file to support building OpenSSL Crypto Library.

 

-Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>

+Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>

 This program and the accompanying materials

 are licensed and made available under the terms and conditions of the BSD License

 which accompanies this distribution.  The full text of the license may be found at

@@ -219,9 +219,9 @@
 //

 // Global variables from EFI Application Toolkit required to buiild Open SSL

 //

-static FILE  *stderr;

-static FILE  *stdin;

-static FILE  *stdout;

+extern FILE  *stderr;

+extern FILE  *stdin;

+extern FILE  *stdout;

 

 //

 // Macros that directly map functions to BaseLib, BaseMemoryLib, and DebugLib functions