Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/em100/+/37127 )
Change subject: Make tar_ls part of the API ......................................................................
Make tar_ls part of the API
Change-Id: Iabdd11acf0d2035ef54b5cc34b54ba44613a358b Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org --- M em100.h M tar.c 2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/27/37127/1
diff --git a/em100.h b/em100.h index 87103c7..1e9addc 100644 --- a/em100.h +++ b/em100.h @@ -174,6 +174,7 @@ TFILE *tar_find(TFILE *tfile, char *name); TFILE *tar_load_compressed(char *filename); int tar_close(TFILE *tfile); +int tar_ls(TFILE *tfile); int test_tar(void);
/* Network */ diff --git a/tar.c b/tar.c index 483f887..70f5b87 100644 --- a/tar.c +++ b/tar.c @@ -60,7 +60,7 @@ return chksum; }
-static int tar_ls(TFILE *tfile) +int tar_ls(TFILE *tfile) { size_t i = 0;