]> wimlib.net Git - wimlib/blobdiff - include/wimlib/file_io.h
LZMS: share 'struct lzms_probabilities' between compressor and decompressor
[wimlib] / include / wimlib / file_io.h
index 549dc5e43392f7a360ce4feaab25df01382ed6e9..61ae78b9e270aee622376346a68e0eff7ad18af0 100644 (file)
@@ -1,9 +1,9 @@
 #ifndef _WIMLIB_FILE_IO_H
 #define _WIMLIB_FILE_IO_H
 
+#include <stdbool.h>
 #include <stddef.h>
 #include <sys/types.h>
-#include <stdbool.h>
 
 /* Wrapper around a file descriptor that keeps track of offset (including in
  * pipes, which don't support lseek()) and a cached flag that tells whether the
@@ -26,12 +26,6 @@ full_write(struct filedes *fd, const void *buf, size_t n);
 extern int
 full_pwrite(struct filedes *fd, const void *buf, size_t count, off_t offset);
 
-extern ssize_t
-raw_pread(struct filedes *fd, void *buf, size_t nbyte, off_t offset);
-
-extern ssize_t
-raw_pwrite(struct filedes *fd, const void *buf, size_t count, off_t offset);
-
 #ifndef __WIN32__
 #  define O_BINARY 0
 #endif