mirror of https://github.com/acidanthera/audk.git
Rename the global variable to avoid possible symbol conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6304 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
58228071ab
commit
34abfd7cf8
|
@ -34,7 +34,7 @@
|
||||||
//
|
//
|
||||||
// Template for an end-of-device path node.
|
// Template for an end-of-device path node.
|
||||||
//
|
//
|
||||||
EFI_DEVICE_PATH_PROTOCOL mEndDevicePath = {
|
GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_PROTOCOL mUefiDevicePathLibEndDevicePath = {
|
||||||
END_DEVICE_PATH_TYPE,
|
END_DEVICE_PATH_TYPE,
|
||||||
END_ENTIRE_DEVICE_PATH_SUBTYPE,
|
END_ENTIRE_DEVICE_PATH_SUBTYPE,
|
||||||
{
|
{
|
||||||
|
@ -153,7 +153,7 @@ AppendDevicePath (
|
||||||
// If there's only 1 path, just duplicate it.
|
// If there's only 1 path, just duplicate it.
|
||||||
//
|
//
|
||||||
if (FirstDevicePath == NULL) {
|
if (FirstDevicePath == NULL) {
|
||||||
return DuplicateDevicePath ((SecondDevicePath != NULL) ? SecondDevicePath : &mEndDevicePath);
|
return DuplicateDevicePath ((SecondDevicePath != NULL) ? SecondDevicePath : &mUefiDevicePathLibEndDevicePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SecondDevicePath == NULL) {
|
if (SecondDevicePath == NULL) {
|
||||||
|
@ -217,7 +217,7 @@ AppendDevicePathNode (
|
||||||
UINTN NodeLength;
|
UINTN NodeLength;
|
||||||
|
|
||||||
if (DevicePathNode == NULL) {
|
if (DevicePathNode == NULL) {
|
||||||
return DuplicateDevicePath ((DevicePath != NULL) ? DevicePath : &mEndDevicePath);
|
return DuplicateDevicePath ((DevicePath != NULL) ? DevicePath : &mUefiDevicePathLibEndDevicePath);
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
// Build a Node that has a terminator on it
|
// Build a Node that has a terminator on it
|
||||||
|
|
Loading…
Reference in New Issue