aboutsummaryrefslogtreecommitdiff
path: root/tests/libutil/rbtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libutil/rbtree.c')
-rw-r--r--tests/libutil/rbtree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libutil/rbtree.c b/tests/libutil/rbtree.c
index c430d67..05f7aa3 100644
--- a/tests/libutil/rbtree.c
+++ b/tests/libutil/rbtree.c
@@ -151,7 +151,7 @@ static int check_subtrees_equal(const rbtree_node_t *lhs,
return 0;
}
-int main(void)
+int main(int argc, char **argv)
{
size_t count, blkdepth, mind, maxd;
sqfs_s32 key, key2;
@@ -159,6 +159,7 @@ int main(void)
rbtree_node_t *n;
sqfs_u64 value;
int ret;
+ (void)argc; (void)argv;
TEST_ASSERT(rbtree_init(&rb, sizeof(sqfs_s32),
sizeof(sqfs_u64), key_compare) == 0);