This makes "-Werror=old-style-declaration" work.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>
This commit is contained in:
Nigel Croxon 2016-03-03 16:27:04 -05:00
parent 087d22af38
commit fb8f9bfe52

View File

@ -45,7 +45,7 @@ DebugHook(void)
UINT8 *data = NULL;
UINTN dataSize = 0;
EFI_STATUS efi_status;
volatile register UINTN x = 0;
register volatile UINTN x = 0;
extern char _text, _data;
if (x)