From e7ede0c75570ddd57b9d55e33764c3bdd74274b1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 24 Mar 2026 07:06:39 +0000 Subject: mkhtemp: unified non-error close handling Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util/libreboot-utils/include') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index fa07da7f..bdd625f8 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -530,6 +530,7 @@ int fsync_on_eintr(int fd); int fs_rename_at(int olddirfd, const char *old, int newdirfd, const char *new); int fs_open(const char *path, int flags); +void close_no_err(int *fd); struct filesystem *rootfs(void); int fs_resolve_at(int dirfd, const char *path, int flags); int fs_next_component(const char **p, -- cgit v1.2.1