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
1 changed files with 1 additions and 1 deletions

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)