diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-01-06 00:27:17 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-01-06 00:27:17 +0200 |
commit | e39334e44f723b0a1d1036f354c5d8f5d0a12377 (patch) | |
tree | aff3b1638e1ab0fb0122c4c2fc4c8c40b2cafe88 /src/apk_io.h | |
parent | e4aae45f960691afdc25ebc9d0b4c38af40e4346 (diff) | |
download | apk-tools-e39334e44f723b0a1d1036f354c5d8f5d0a12377.tar.gz apk-tools-e39334e44f723b0a1d1036f354c5d8f5d0a12377.tar.bz2 apk-tools-e39334e44f723b0a1d1036f354c5d8f5d0a12377.tar.xz apk-tools-e39334e44f723b0a1d1036f354c5d8f5d0a12377.zip |
io: remove unused size parameter from bstream close
Diffstat (limited to 'src/apk_io.h')
-rw-r--r-- | src/apk_io.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/apk_io.h b/src/apk_io.h index c44ed55..cfe4a29 100644 --- a/src/apk_io.h +++ b/src/apk_io.h @@ -73,7 +73,7 @@ struct apk_istream { struct apk_bstream_ops { void (*get_meta)(struct apk_bstream *bs, struct apk_file_meta *meta); apk_blob_t (*read)(struct apk_bstream *bs, apk_blob_t token); - void (*close)(struct apk_bstream *bs, size_t *size); + void (*close)(struct apk_bstream *bs); }; struct apk_bstream { @@ -178,9 +178,9 @@ static inline apk_blob_t apk_bstream_read(struct apk_bstream *bs, apk_blob_t tok { return bs->ops->read(bs, token); } -static inline void apk_bstream_close(struct apk_bstream *bs, size_t *size) +static inline void apk_bstream_close(struct apk_bstream *bs) { - bs->ops->close(bs, size); + bs->ops->close(bs); } struct apk_ostream *apk_ostream_to_fd(int fd); |