diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-18 04:39:50 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-18 04:39:50 +0000 |
| commit | 3f2a6e749f63d3c0a8e8864081f64f6111698839 (patch) | |
| tree | ff4a884a3340113806f714f3b113cf2d8142fc90 /util/nvmutil/nvmutil.h | |
| parent | ef2d5ccdf43f6f103ee4e3cde34f4c12dc38a143 (diff) | |
util/nvmutil: use real fsync
that function i added was a load of crap. it
worked, but it was a bit dumb, and crap.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.h')
| -rw-r--r-- | util/nvmutil/nvmutil.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/nvmutil/nvmutil.h b/util/nvmutil/nvmutil.h index 119c716f..57ec6bd6 100644 --- a/util/nvmutil/nvmutil.h +++ b/util/nvmutil/nvmutil.h @@ -9,6 +9,11 @@ check_cmd(cmd_helper_cat); */ +/* + * system prototypes + */ +int fchmod(int fd, mode_t mode); + #ifndef NVMUTIL_H #define NVMUTIL_H @@ -465,11 +470,6 @@ void *x_v_memcpy(void *dst, const void *src, unsigned long n); int x_i_memcmp(const void *a, const void *b, unsigned long n); -int x_i_fchmod(int fd, mode_t mode); -int x_try_fdpath(const char *prefix, - int fd, mode_t mode); -unsigned long x_conv_fd(char *buf, - unsigned long n); int x_i_fsync(int fd); |
