mirror of https://github.com/ncroxon/gnu-efi
Move STATIC to efidef.h
* Allows use in legacy.h Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
c14705b746
commit
81321deb03
|
@ -80,6 +80,10 @@ typedef VOID *EFI_EVENT;
|
|||
#define OPTIONAL
|
||||
#endif
|
||||
|
||||
// STATIC - Name is internal to the module
|
||||
#define STATIC static
|
||||
|
||||
|
||||
|
||||
//
|
||||
// A GUID
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue