diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/efi_selftest.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/efi_selftest.h b/include/efi_selftest.h index 2f0992f06ee..7ec42a0406b 100644 --- a/include/efi_selftest.h +++ b/include/efi_selftest.h @@ -61,6 +61,17 @@ void efi_st_printf(const char *fmt, ...) __attribute__ ((format (__printf__, 1, 2))); /* + * Compare memory. + * We cannot use lib/string.c due to different CFLAGS values. + * + * @buf1: first buffer + * @buf2: second buffer + * @length: number of bytes to compare + * @return: 0 if both buffers contain the same bytes + */ +int efi_st_memcmp(const void *buf1, const void *buf2, size_t length); + +/* * Reads an Unicode character from the input device. * * @return: Unicode character |
