mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-14 20:06:51 +00:00

- Declare some functions in the proper headers + We missed them for a long time... - Cast offsetof to UINTN + The original casting triggers the gcc warning since int can not present the offset for the 64bit machines. - Cast the "char" array to "CHAR8 *" to avoid the gcc warnings - Implement atoi correctly Signed-off-by: Gary Lin <glin@suse.com>
9 lines
298 B
C
9 lines
298 B
C
#include <efi.h>
|
|
#include <efilib.h>
|
|
|
|
UINT32 WriteUnaligned32 (UINT32 *Buffer, UINT32 Value);
|
|
UINTN AsciiStrSize (CHAR8 *string);
|
|
char *AsciiStrnCpy(char *Destination, char *Source, UINTN count);
|
|
char *AsciiStrCat(char *Destination, char *Source);
|
|
UINTN AsciiStrDecimalToUintn(const char *String);
|