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
/** @file\r
Root include file to support building OpenSSL Crypto Library.\r
\r
-Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
//\r
// Global variables from EFI Application Toolkit required to buiild Open SSL\r
//\r
-static FILE *stderr;\r
-static FILE *stdin;\r
-static FILE *stdout;\r
+extern FILE *stderr;\r
+extern FILE *stdin;\r
+extern FILE *stdout;\r
\r
//\r
// Macros that directly map functions to BaseLib, BaseMemoryLib, and DebugLib functions\r
C Run-Time Libraries (CRT) Wrapper Implementation for OpenSSL-based\r
Cryptographic Library.\r
\r
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
int errno = 0;\r
\r
+FILE *stderr = NULL;\r
+FILE *stdin = NULL;\r
+FILE *stdout = NULL;\r
+\r
typedef\r
INTN\r
(*SORT_COMPARE)(\r