]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg: remove global variable 'timeval' from OpenSslSupport.h
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 7 Dec 2015 06:33:27 +0000 (06:33 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Mon, 7 Dec 2015 06:33:27 +0000 (06:33 +0000)
commit84c7452165816ed26cd5bdeb5666d4dc0026f116
treefe053500aa3434200befa2af05cf37bbe30118d5
parent96832eefea1025c130979dec9b7da069f77bcd96
CryptoPkg: remove global variable 'timeval' from OpenSslSupport.h

The header file OpenSslSupport.h not only defines a type 'struct timeval'
but also defines a global variable 'timeval' of that type. The RVCT
compiler does not merge this definition into a common symbol, resulting
in duplicate definition errors in the final link. So remove the
variable definition.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Qin Long <qin.long@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19135 6f19259b-4bc3-4df7-8a09-765794883524
CryptoPkg/Include/OpenSslSupport.h