1234567891011121314151617181920212223242526272829303132333435 |
- --- dosfstools-3.0.26.orig/src/io.h 2014-02-08 18:53:10.000000000 +0100
- +++ dosfstools-3.0.26/src/io.h 2014-03-26 13:27:15.000000000 +0100
- @@ -27,9 +27,9 @@
- #ifndef _IO_H
- #define _IO_H
-
- -#include <fcntl.h> /* for loff_t */
- +#include <fcntl.h> /* for off_t */
-
- -loff_t llseek(int fd, loff_t offset, int whence);
- +off_t llseek(int fd, off_t offset, int whence);
-
- /* lseek() analogue for large offsets. */
-
- @@ -38,17 +38,17 @@ void fs_open(char *path, int rw);
- /* Opens the filesystem PATH. If RW is zero, the filesystem is opened
- read-only, otherwise, it is opened read-write. */
-
- -void fs_read(loff_t pos, int size, void *data);
- +void fs_read(off_t pos, int size, void *data);
-
- /* Reads SIZE bytes starting at POS into DATA. Performs all applicable
- changes. */
-
- -int fs_test(loff_t pos, int size);
- +int fs_test(off_t pos, int size);
-
- /* Returns a non-zero integer if SIZE bytes starting at POS can be read without
- errors. Otherwise, it returns zero. */
-
- -void fs_write(loff_t pos, int size, void *data);
- +void fs_write(off_t pos, int size, void *data);
-
- /* If write_immed is non-zero, SIZE bytes are written from DATA to the disk,
- starting at POS. If write_immed is zero, the change is added to a list in
|