diff options
author | manison <manison@users.noreply.github.com> | 2019-01-21 18:32:27 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-01-21 18:32:27 +0100 |
commit | a0a048928cdc55bfc8fb1830c2f282b3de752d41 (patch) | |
tree | e00d517c337e588ad61f444b35c97ae575895c81 /Library | |
parent | ce24edac4f9a132138817060b3a8f2a492ade2e4 (diff) | |
download | VeraCrypt-DCS-a0a048928cdc55bfc8fb1830c2f282b3de752d41.tar.gz VeraCrypt-DCS-a0a048928cdc55bfc8fb1830c2f282b3de752d41.zip |
Rename functions conflicting with upstream edk (#10)
Diffstat (limited to 'Library')
-rw-r--r-- | Library/CommonLib/EfiConsole.c | 4 | ||||
-rw-r--r-- | Library/DcsCfgLib/GptEdit.c | 2 | ||||
-rw-r--r-- | Library/VeraCryptLib/DcsVeraCrypt.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Library/CommonLib/EfiConsole.c b/Library/CommonLib/EfiConsole.c index 71373ab..daf087f 100644 --- a/Library/CommonLib/EfiConsole.c +++ b/Library/CommonLib/EfiConsole.c @@ -366,7 +366,7 @@ AsciiHexToByte( }
BOOLEAN
-AsciiStrToGuid(
+DcsAsciiStrToGuid(
OUT EFI_GUID *guid,
IN CHAR8 *str
)
@@ -428,7 +428,7 @@ AsciiHexToBytes( }
BOOLEAN
-StrHexToBytes(
+DcsStrHexToBytes(
OUT UINT8 *b,
IN UINTN *bytesLen,
IN CHAR16 *str
diff --git a/Library/DcsCfgLib/GptEdit.c b/Library/DcsCfgLib/GptEdit.c index bae8f1e..5f5d0b0 100644 --- a/Library/DcsCfgLib/GptEdit.c +++ b/Library/DcsCfgLib/GptEdit.c @@ -636,7 +636,7 @@ GptAskGUID( ok = TRUE;
}
else {
- ok = AsciiStrToGuid(&result, buf);
+ ok = DcsAsciiStrToGuid(&result, buf);
if (ok) {
CopyMem(guid, &result, sizeof(result));
}
diff --git a/Library/VeraCryptLib/DcsVeraCrypt.c b/Library/VeraCryptLib/DcsVeraCrypt.c index 5d9be88..1249718 100644 --- a/Library/VeraCryptLib/DcsVeraCrypt.c +++ b/Library/VeraCryptLib/DcsVeraCrypt.c @@ -186,7 +186,7 @@ VCAuthLoadConfig() ConfigReadString("PartitionGuidOS", "", strTemp, MAX_MSG);
if (strTemp[0] != 0) {
EFI_GUID g;
- if (AsciiStrToGuid(&g, strTemp)) {
+ if (DcsAsciiStrToGuid(&g, strTemp)) {
VCCONFIG_ALLOC(gPartitionGuidOS, sizeof(EFI_GUID));
if (gPartitionGuidOS != NULL) {
memcpy(gPartitionGuidOS, &g, sizeof(g));
|