summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/include/common.h
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-24 07:06:39 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-24 07:06:39 +0000
commite7ede0c75570ddd57b9d55e33764c3bdd74274b1 (patch)
treeba484c1ad22bf6c3e531b9a7f4966cd16a6075c6 /util/libreboot-utils/include/common.h
parent616099edade1d43893564177cbd31ff5f1c7eea0 (diff)
mkhtemp: unified non-error close handling
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 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,