diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-12 20:14:44 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-15 13:38:25 +0200 |
commit | e811851deba9c45f3d9b3c5b4ad5eaa7945382d5 (patch) | |
tree | 4a5084324ab2a76d3c205f34bb0871de58ac192a /lib/tar/test/tar_write_simple.c | |
parent | 2694532a5479d157903b6c600d9b1d5c145a4e4c (diff) |
Mass rename istream_t/ostream_t with sqfs_ prefix
istream_t becomes sqfs_istream_t and ostream_t becomes sqfs_ostream_t
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/test/tar_write_simple.c')
-rw-r--r-- | lib/tar/test/tar_write_simple.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/tar/test/tar_write_simple.c b/lib/tar/test/tar_write_simple.c index b34c9c5..98ac25b 100644 --- a/lib/tar/test/tar_write_simple.c +++ b/lib/tar/test/tar_write_simple.c @@ -14,10 +14,10 @@ /*****************************************************************************/ -static int buffer_append(ostream_t *strm, const void *data, size_t size); -static const char *buffer_get_filename(ostream_t *strm); +static int buffer_append(sqfs_ostream_t *strm, const void *data, size_t size); +static const char *buffer_get_filename(sqfs_ostream_t *strm); -static ostream_t mem_stream = { +static sqfs_ostream_t mem_stream = { { 1, NULL, NULL }, buffer_append, NULL, @@ -29,7 +29,7 @@ static size_t wr_offset = 0; static sqfs_u8 rd_buffer[1024 * 10]; -static int buffer_append(ostream_t *strm, const void *data, size_t size) +static int buffer_append(sqfs_ostream_t *strm, const void *data, size_t size) { TEST_ASSERT(strm == &mem_stream); TEST_ASSERT(wr_offset < sizeof(wr_buffer)); @@ -46,7 +46,7 @@ static int buffer_append(ostream_t *strm, const void *data, size_t size) return 0; } -static const char *buffer_get_filename(ostream_t *strm) +static const char *buffer_get_filename(sqfs_ostream_t *strm) { TEST_ASSERT(strm == &mem_stream); return "dummy"; @@ -79,8 +79,8 @@ static sqfs_xattr_t *mkxattr_chain(void) int main(int argc, char **argv) { sqfs_xattr_t *xattr; + sqfs_istream_t *fp; struct stat sb; - istream_t *fp; int ret; (void)argc; (void)argv; |