summaryrefslogtreecommitdiff
path: root/lib/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/error.c')
-rw-r--r--lib/error.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/error.c b/lib/error.c
index 2399a06..9f3b230 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -18,10 +18,11 @@ Revision History
#include "lib.h"
-struct {
- EFI_STATUS Code;
- WCHAR *Desc;
-} ErrorCodeTable[] = {
+typedef struct {
+ EFI_STATUS Code;
+ WCHAR *Desc;
+} ErrorCodeTable_Type;
+ErrorCodeTable_Type ErrorCodeTable[] = {
{ EFI_SUCCESS, L"Success"},
{ EFI_LOAD_ERROR, L"Load Error"},
{ EFI_INVALID_PARAMETER, L"Invalid Parameter"},