diff options
author | Vincent Stehlé <vincent.stehle@arm.com> | 2024-07-03 13:37:55 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-16 17:09:33 -0600 |
commit | 0a1bf35f5f0750ae281aaaa6305c4fedbeb6e47e (patch) | |
tree | 78e43d75a3316a1600541c3361a6231a9f68b655 /include/efi_loader.h | |
parent | 0318126236da1474ae1b6e349d83991fb0cda8ea (diff) |
efi: move guid helper functions to efi.h
Move the guidcmp() and guidcpy() functions to efi.h, near the definition of
the efi_guid_t type those functions deal with.
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 6c993e1a694..ca8fc0820f6 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -21,16 +21,6 @@ struct blk_desc; struct jmp_buf_data; -static inline int guidcmp(const void *g1, const void *g2) -{ - return memcmp(g1, g2, sizeof(efi_guid_t)); -} - -static inline void *guidcpy(void *dst, const void *src) -{ - return memcpy(dst, src, sizeof(efi_guid_t)); -} - #if CONFIG_IS_ENABLED(EFI_LOADER) /** |