aboutsummaryrefslogtreecommitdiff
path: root/tests/libtar/tar_xattr_bin.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtar/tar_xattr_bin.c')
-rw-r--r--tests/libtar/tar_xattr_bin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libtar/tar_xattr_bin.c b/tests/libtar/tar_xattr_bin.c
index 52c407c..f44e26f 100644
--- a/tests/libtar/tar_xattr_bin.c
+++ b/tests/libtar/tar_xattr_bin.c
@@ -16,11 +16,12 @@ static const uint8_t value[] = {
0x00, 0x00, 0x00, 0x00,
};
-int main(void)
+int main(int argc, char **argv)
{
tar_header_decoded_t hdr;
char buffer[6];
istream_t *fp;
+ (void)argc; (void)argv;
fp = istream_open_file(STRVALUE(TESTPATH) "/" STRVALUE(TESTFILE));
TEST_NOT_NULL(fp);