From 5a1d521dee69854c4eba6381800f44115bf4bb6c Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Mon, 14 May 2018 15:25:03 +0800 Subject: SecurityPkg/TcgStorageOpalLib: Fix GCC build failure. Function definition different with function implementation caused this build failure. Change code to make them consistent to pass the build. Done Unit Test: 1. Pass GCC build. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Reviewed-by: Hao Wu --- SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 4 ---- SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLibInternal.h | 1 - 2 files changed, 5 deletions(-) (limited to 'SecurityPkg/Library') diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c index d794a91aad..cf37cad004 100644 --- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c +++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c @@ -334,7 +334,6 @@ OpalPsidRevert( **/ TCG_RESULT -EFIAPI OpalPyrite2PsidRevert( OPAL_SESSION *AdminSpSession, UINT32 EstimateTimeCost @@ -667,7 +666,6 @@ OpalGetMsid( **/ TCG_RESULT -EFIAPI OpalPyrite2GetActiveDataRemovalMechanism ( IN OPAL_SESSION *AdminSpSession, OUT UINT8 *ActiveDataRemovalMechanism @@ -845,7 +843,6 @@ OpalAdminRevert( **/ TCG_RESULT -EFIAPI OpalPyrite2AdminRevert( OPAL_SESSION *LockingSpSession, BOOLEAN KeepUserData, @@ -1866,7 +1863,6 @@ OpalGetLockingInfo( **/ TCG_RESULT -EFIAPI OpalGetFeatureDescriptor ( IN OPAL_SESSION *Session, IN UINT16 FeatureCode, diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLibInternal.h b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLibInternal.h index cd16c51c3b..9a2f60454f 100644 --- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLibInternal.h +++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLibInternal.h @@ -27,7 +27,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ TCG_RESULT -EFIAPI OpalPyrite2GetActiveDataRemovalMechanism ( OPAL_SESSION *AdminSpSession, UINT8 *ActiveDataRemovalMechanism -- cgit v1.2.3