summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/include/common.h
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-29 22:15:27 +0100
committerLeah Rowe <leah@libreboot.org>2026-03-29 23:55:38 +0100
commit7fb0b2f69293f0fb0e83e9b125fbd658503147f0 (patch)
treef7c119ee9dc7ffbb6ad62bc360ddc52212413167 /util/libreboot-utils/include/common.h
parent01aa95ec15ed5a6e519f1d3887e105a40e17b84c (diff)
libreboot-utils: safe memcmpHEADmaster
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/include/common.h')
-rw-r--r--util/libreboot-utils/include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h
index 0ccc02aa..da102f05 100644
--- a/util/libreboot-utils/include/common.h
+++ b/util/libreboot-utils/include/common.h
@@ -378,6 +378,7 @@ char *smalloc(char **buf, size_t size);
void *vmalloc(void **buf, size_t size);
int slen(const char *scmp, size_t maxlen,
size_t *rval);
+int vcmp(const void *s1, const void *s2, size_t n);
int scmp(const char *a, const char *b,
size_t maxlen, int *rval);
int sdup(const char *s,