From a879114734c7d0fdd54c58aacf925660a43a06ef Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 1 Apr 2026 14:29:39 +0100 Subject: 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 --- util/libreboot-utils/include/common.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'util/libreboot-utils/include/common.h') 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); -- cgit v1.2.1