mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 12:20:00 +01:00
read_lseek_blockwise: use void pointer
This commit is contained in:
committed by
Milan Broz
parent
d3316ec930
commit
4dd568fbfc
@@ -106,7 +106,7 @@ 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 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 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);
|
ssize_t read_lseek_blockwise(int fd, int bsize, void *buf, size_t count, off_t offset);
|
||||||
|
|
||||||
unsigned crypt_getpagesize(void);
|
unsigned crypt_getpagesize(void);
|
||||||
int init_crypto(struct crypt_device *ctx);
|
int init_crypto(struct crypt_device *ctx);
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ out:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
ssize_t read_lseek_blockwise(int fd, int bsize, char *buf, size_t count, off_t offset)
|
ssize_t read_lseek_blockwise(int fd, int bsize, void *buf, size_t count, off_t offset)
|
||||||
{
|
{
|
||||||
char *frontPadBuf;
|
char *frontPadBuf;
|
||||||
void *frontPadBuf_base = NULL;
|
void *frontPadBuf_base = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user