Move STATIC to efidef.h

* Allows use in legacy.h

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
Callum Farmer 2024-07-30 13:16:07 +01:00
parent c14705b746
commit 81321deb03
No known key found for this signature in database
GPG Key ID: 9A5B19E18CD0013C
3 changed files with 6 additions and 4 deletions

View File

@ -80,6 +80,10 @@ typedef VOID *EFI_EVENT;
#define OPTIONAL
#endif
// STATIC - Name is internal to the module
#define STATIC static
//
// A GUID

View File

@ -211,12 +211,10 @@ extern EFI_DEVICE_PATH EndInstanceDevicePath[];
extern EFI_MEMORY_TYPE PoolAllocationType;
//
// STATIC - Name is internal to the module
// INTERNAL - Name is internal to the component (i.e., directory)
// BOOTSERVCE - Name of a boot service function
//
#define STATIC static
#define INTERNAL
#define BOOTSERVICE

View File

@ -27,7 +27,7 @@ ReallocatePool_1 (
IN VOID *OldPool OPTIONAL
);
static
STATIC
inline
VOID *
EFIAPI
@ -77,7 +77,7 @@ CompareGuid_1 (
IN CONST EFI_GUID *Guid2
);
static
STATIC
inline
INTN
EFIAPI