diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-06-21 16:07:58 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-06-23 10:07:44 +0300 |
commit | 4d9c0c39b033159f4bd6fe279dd38d4f4a67c904 (patch) | |
tree | b316100ea8a03be653c8cb0c729577c24ebcae14 /src/manifest.c | |
parent | ca9d476ba39d75b9a197f9ae30e5efe2ebafaf3c (diff) | |
download | apk-tools-4d9c0c39b033159f4bd6fe279dd38d4f4a67c904.tar.gz apk-tools-4d9c0c39b033159f4bd6fe279dd38d4f4a67c904.tar.bz2 apk-tools-4d9c0c39b033159f4bd6fe279dd38d4f4a67c904.tar.xz apk-tools-4d9c0c39b033159f4bd6fe279dd38d4f4a67c904.zip |
io: make io vtables const struct, and add accessors for them
This reduces function pointers in heap, and unifies how the
io functions are called.
Diffstat (limited to 'src/manifest.c')
-rw-r--r-- | src/manifest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manifest.c b/src/manifest.c index c7ab789..56c9d68 100644 --- a/src/manifest.c +++ b/src/manifest.c @@ -100,7 +100,7 @@ static void process_file(struct apk_database *db, const char *match) } (void) apk_tar_parse(is, read_file_entry, &ctx, FALSE, &db->id_cache); - is->close(is); + apk_istream_close(is); } static void process_match(struct apk_database *db, const char *match, struct apk_name *name, void *ctx) |