Browse Source

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

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>
Nigel Croxon 9 năm trước cách đây
mục cha
commit
fb8f9bfe52
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      apps/debughook.c

+ 1 - 1
apps/debughook.c

@@ -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)