diff options
author | b'Nigel Croxon <allura@localhost> | 2023-05-16 13:06:32 +0000 |
---|---|---|
committer | b'Nigel Croxon <allura@localhost> | 2023-05-16 13:06:32 +0000 |
commit | 9835e11ebe95ed8372ac2a6671de07cc970cdee0 (patch) | |
tree | f2f1d166ba12123605c3dc3e12790e9391d2a31c /lib/error.c | |
parent | bbc2b528e08e5b99e08e103302ee90046135a039 (diff) | |
parent | 99730f29b2f8874bc7bfad383ea8eb52679e8897 (diff) | |
download | gnu-efi-master.tar.gz |
https://sourceforge.net/p/gnu-efi/code/merge-requests/51/
Diffstat (limited to 'lib/error.c')
-rw-r--r-- | lib/error.c | 9 |
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"}, |