mirror of
https://github.com/rhboot/gnu-efi
synced 2026-08-26 00:26:04 -04:00
Structs with no linkage
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
ba150f34d6
commit
99730f29b2
2 changed files with 8 additions and 6 deletions
|
|
@ -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},
|
||||
|
|
|
|||
|
|
@ -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"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue