]> wimlib.net Git - wimlib/blobdiff - src/file_io.c
wimlib-imagex: improve error message
[wimlib] / src / file_io.c
index f641aa28d1947569e304536cf475cd145a81a862..26584b9aa6f34f22c4250e1e21ba7fea97b31e2a 100644 (file)
@@ -185,18 +185,6 @@ full_pwrite(struct filedes *fd, const void *buf, size_t count, off_t offset)
        return 0;
 }
 
-ssize_t
-raw_pread(struct filedes *fd, void *buf, size_t count, off_t offset)
-{
-       return pread(fd->fd, buf, count, offset);
-}
-
-ssize_t
-raw_pwrite(struct filedes *fd, const void *buf, size_t count, off_t offset)
-{
-       return pwrite(fd->fd, buf, count, offset);
-}
-
 off_t filedes_seek(struct filedes *fd, off_t offset)
 {
        if (fd->is_pipe) {