summaryrefslogtreecommitdiff
path: root/tests/libtar/tar_sparse_gnu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtar/tar_sparse_gnu.c')
-rw-r--r--tests/libtar/tar_sparse_gnu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libtar/tar_sparse_gnu.c b/tests/libtar/tar_sparse_gnu.c
index 1405026..06f79f1 100644
--- a/tests/libtar/tar_sparse_gnu.c
+++ b/tests/libtar/tar_sparse_gnu.c
@@ -8,11 +8,12 @@
#include "tar.h"
#include "../test.h"
-int main(void)
+int main(int argc, char **argv)
{
tar_header_decoded_t hdr;
sparse_map_t *sparse;
istream_t *fp;
+ (void)argc; (void)argv;
TEST_ASSERT(chdir(TEST_PATH) == 0);