Use const qualify for Src pointer.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5092 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2008-04-18 04:21:49 +00:00
parent f40bbc08c8
commit 9ef1a3ca7d
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
STATIC
EFI_DEVICE_PATH_PROTOCOL *
UnpackDevicePath (
IN EFI_DEVICE_PATH_PROTOCOL *DevPath
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath
)
/*++
@ -34,7 +34,7 @@ UnpackDevicePath (
--*/
{
EFI_DEVICE_PATH_PROTOCOL *Src;
CONST EFI_DEVICE_PATH_PROTOCOL *Src;
EFI_DEVICE_PATH_PROTOCOL *Dest;
EFI_DEVICE_PATH_PROTOCOL *NewPath;
UINTN Size;