X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/9d7bdff315a9fbe3ed27266df09fe9bc8de2b605..132360632b387ff7b6f5302939769eaf7ff2c265:/src/lbxtool.c diff --git a/src/lbxtool.c b/src/lbxtool.c index 9f0097a..d0f764d 100644 --- a/src/lbxtool.c +++ b/src/lbxtool.c @@ -69,7 +69,7 @@ int filematch(char **argv, const char *name) return i ? -1: 0; } -int list(LBX *lbx, const char *name, int verbose, char **argv) { +int list(LBX *lbx, int verbose, char **argv) { size_t nfiles; unsigned int i; @@ -143,7 +143,7 @@ int extract_file(LBXfile *f, const struct lbx_statbuf *stat) return ret; } -int extract(LBX *lbx, const char *name, int verbose, char **argv) { +int extract(LBX *lbx, int verbose, char **argv) { size_t nfiles; unsigned int i; @@ -253,10 +253,10 @@ int main(int argc, char **argv) switch (mode) { case MODE_LIST: - rc = list(lbx, name, verbose, &argv[optind]); + rc = list(lbx, verbose, &argv[optind]); break; case MODE_EXTRACT: - rc = extract(lbx, name, verbose, &argv[optind]); + rc = extract(lbx, verbose, &argv[optind]); break; default: fprintf(stderr, "%s: you must specify a mode.\n", progname);