diff options
author | Eric Dong <eric.dong@intel.com> | 2018-05-14 15:25:03 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2018-05-15 08:24:26 +0800 |
commit | 5a1d521dee69854c4eba6381800f44115bf4bb6c (patch) | |
tree | 78ebd335807875cdc6190682212708ca60c4dd76 /SecurityPkg/Library/TcgStorageOpalLib | |
parent | f803c03cc2e0b6b0b0bed447a97ea2c61b04ed82 (diff) | |
download | edk2-5a1d521dee69854c4eba6381800f44115bf4bb6c.tar.gz edk2-5a1d521dee69854c4eba6381800f44115bf4bb6c.tar.bz2 edk2-5a1d521dee69854c4eba6381800f44115bf4bb6c.zip |
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 <eric.dong@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Diffstat (limited to 'SecurityPkg/Library/TcgStorageOpalLib')
-rw-r--r-- | SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 4 | ||||
-rw-r--r-- | SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLibInternal.h | 1 |
2 files changed, 0 insertions, 5 deletions
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
|