Test case: reading zip and DLD parsing

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-09-13 21:30:25 +03:00 committed by Dirk Hohndel
parent 3fb017a1c3
commit 0160e58e7d
4 changed files with 15 additions and 1 deletions

2
file.c
View file

@ -85,7 +85,7 @@ static void zip_read(struct zip_file *file, const char *filename)
free(mem);
}
static int try_to_open_zip(const char *filename, struct memblock *mem)
int try_to_open_zip(const char *filename, struct memblock *mem)
{
int success = 0;
/* Grr. libzip needs to re-open the file, it can't take a buffer */