summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/include/common.h
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-04-01 14:29:39 +0100
committerLeah Rowe <leah@libreboot.org>2026-04-01 14:29:39 +0100
commita879114734c7d0fdd54c58aacf925660a43a06ef (patch)
treed13f4951b92a19d31680c61b61177891a8d33b36 /util/libreboot-utils/include/common.h
parent229a2836045d102423688c3af259aab5dfbf520c (diff)
lbutils: remove rw on_eintr functions. just use rw
rw is enough. i unified everything there. next commit will remove rw_type and instead run positional i/o depending on whether the offset is zero. i'm simplifying the API a lot. 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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h
index b30bcc93..5058317c 100644
--- a/util/libreboot-utils/include/common.h
+++ b/util/libreboot-utils/include/common.h
@@ -471,14 +471,6 @@ int check_file(int fd, struct stat *st);
ssize_t rw_over_nrw(ssize_t r, size_t nrw);
off_t lseek_on_eintr(int fd, off_t off,
int whence);
-ssize_t read_on_eintr(int fd,
- void *buf, size_t count);
-ssize_t write_on_eintr(int fd,
- void *buf, size_t count);
-ssize_t pread_on_eintr(int fd,
- void *buf, size_t count, off_t off);
-ssize_t pwrite_on_eintr(int fd,
- void *buf, size_t count, off_t off);
int off_retry(int saved_errno, off_t rval);
int sys_retry(int saved_errno, long rval);
int fs_retry(int saved_errno, int rval);