From 4d9c0c39b033159f4bd6fe279dd38d4f4a67c904 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Wed, 21 Jun 2017 16:07:58 +0300 Subject: 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. --- src/manifest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/manifest.c') 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) -- cgit v1.2.3-60-g2f50