From c2a70b7de0e15dc80d5b56d438a6d4ed47647b44 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 29 Mar 2026 09:10:57 +0100 Subject: libreboot-utils: simplify random tmpdir namegen generalise it in rand.c because this logic will be useful for other programs in the future. Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'util/libreboot-utils/include') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index b5b251d3..4b736808 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -399,7 +399,7 @@ void spew_hex(const void *data, size_t len); void *rmalloc(size_t n); void rset(void *buf, size_t n); void *rmalloc(size_t n); -char *mkrstr(size_t n); +char *rchars(size_t n); size_t rsize(size_t n); /* Helper functions for command: dump @@ -524,7 +524,6 @@ mkhtemp_tmpfile_linux(int dirfd, int mkhtemp(int *fd, struct stat *st, char *template, int dirfd, const char *fname, struct stat *st_dir_initial, int type); -int mkhtemp_fill_random(char *p, size_t xc); int world_writeable_and_sticky(const char *s, int sticky_allowed, int always_sticky); int same_dir(const char *a, const char *b); -- cgit v1.2.1