]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg OpenSslSupport.h: Do not instantiate data in an include file
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 4 May 2011 00:56:11 +0000 (00:56 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 4 May 2011 00:56:11 +0000 (00:56 +0000)
commitc61fb9c8a40f5999f89512bf33df57a2098928c1
treed03cabf094f6aad802b190b56f0e5a5898b50606
parentb58675785e4891585b0d2683ae42671368bb9f95
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
CryptoPkg/Include/OpenSslSupport.h
CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c