VS2017 reports 'warning C4028: formal parameter 2 different
from declaration' for the library constructor and destructor
interfaces for the SRAT Generator modules.
Remove the CONST qualifier for the ImageHandle and the
SystemTable pointer in the library constructor and destructor
to make it compatible with the formal declaration.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
EFI_STATUS\r
EFIAPI\r
AcpiSratLibConstructor (\r
- IN CONST EFI_HANDLE ImageHandle,\r
- IN EFI_SYSTEM_TABLE * CONST SystemTable\r
+ IN EFI_HANDLE ImageHandle,\r
+ IN EFI_SYSTEM_TABLE * SystemTable\r
)\r
{\r
EFI_STATUS Status;\r
EFI_STATUS\r
EFIAPI\r
AcpiSratLibDestructor (\r
- IN CONST EFI_HANDLE ImageHandle,\r
- IN EFI_SYSTEM_TABLE * CONST SystemTable\r
+ IN EFI_HANDLE ImageHandle,\r
+ IN EFI_SYSTEM_TABLE * SystemTable\r
)\r
{\r
EFI_STATUS Status;\r