Slight code style improvements for blockwise functions.

This commit is contained in:
Ondrej Kozina
2015-11-30 16:44:22 +01:00
committed by Milan Broz
parent b489b0aa64
commit d3316ec930
2 changed files with 11 additions and 8 deletions

View File

@@ -104,7 +104,7 @@ uint64_t crypt_dev_partition_offset(const char *dev_path);
ssize_t write_buffer(int fd, const void *buf, size_t count);
ssize_t read_buffer(int fd, void *buf, size_t count);
ssize_t write_blockwise(int fd, int bsize, void *buf, size_t count);
ssize_t read_blockwise(int fd, int bsize, void *_buf, size_t count);
ssize_t read_blockwise(int fd, int bsize, void *buf, size_t count);
ssize_t write_lseek_blockwise(int fd, int bsize, char *buf, size_t count, off_t offset);
ssize_t read_lseek_blockwise(int fd, int bsize, char *buf, size_t count, off_t offset);