| Index: src/platform/vboot_reference/common/include/utility.h
|
| diff --git a/src/platform/vboot_reference/common/include/utility.h b/src/platform/vboot_reference/common/include/utility.h
|
| index 8619cd219899b77991f1ef4a8d07ab1dc454252b..a5df8fa6babed28bf37131902666767a84a85a7e 100644
|
| --- a/src/platform/vboot_reference/common/include/utility.h
|
| +++ b/src/platform/vboot_reference/common/include/utility.h
|
| @@ -40,6 +40,12 @@ void* Malloc(size_t size);
|
| /* Free memory pointed by [ptr] previously allocated by Malloc(). */
|
| void Free(void* ptr);
|
|
|
| +/* Compare [n] bytes in [src1] and [src2]
|
| + * Returns an integer less than, equal to, or greater than zero if the first [n]
|
| + * bytes of [src1] is found, respectively, to be less than, to match, or be
|
| + * greater than the first n bytes of [src2]. */
|
| +int Memcmp(const void* src1, const void* src2, size_t n);
|
| +
|
| /* Copy [n] bytes from [src] to [dest]. */
|
| void* Memcpy(void* dest, const void* src, size_t n);
|
|
|
|
|