summaryrefslogtreecommitdiff
path: root/tests/libtar/tar_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtar/tar_simple.c')
-rw-r--r--tests/libtar/tar_simple.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libtar/tar_simple.c b/tests/libtar/tar_simple.c
index ffaafea..54b06c8 100644
--- a/tests/libtar/tar_simple.c
+++ b/tests/libtar/tar_simple.c
@@ -33,12 +33,13 @@ static const char *fname =
static const char *fname = STRVALUE(TESTFNAME);
#endif
-int main(void)
+int main(int argc, char **argv)
{
tar_header_decoded_t hdr;
char buffer[6];
sqfs_s64 ts;
istream_t *fp;
+ (void)argc; (void)argv;
fp = istream_open_file(STRVALUE(TESTPATH) "/" STRVALUE(TESTFILE));
TEST_NOT_NULL(fp);