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/dpath.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/dpath.c')
-rw-r--r-- | lib/dpath.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dpath.c b/lib/dpath.c index 5e079d6..63e4e70 100644 --- a/lib/dpath.c +++ b/lib/dpath.c @@ -1083,11 +1083,12 @@ _DevPathNodeUnknown ( * Entries hold "Type" and "SubType" for know values. * Special "SubType" 0 is used as default for known type with unknown subtype. */ -struct { +typedef struct { UINT8 Type; UINT8 SubType; VOID (*Function)(POOL_PRINT *, VOID *); -} DevPathTable[] = { +} DevPathTable_Type; +DevPathTable_Type DevPathTable[] = { { HARDWARE_DEVICE_PATH, HW_PCI_DP, _DevPathPci}, { HARDWARE_DEVICE_PATH, HW_PCCARD_DP, _DevPathPccard}, { HARDWARE_DEVICE_PATH, HW_MEMMAP_DP, _DevPathMemMap}, |