summaryrefslogtreecommitdiff
path: root/tests/libfstree/fstree_from_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libfstree/fstree_from_dir.c')
-rw-r--r--tests/libfstree/fstree_from_dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libfstree/fstree_from_dir.c b/tests/libfstree/fstree_from_dir.c
index 7db1b74..845586f 100644
--- a/tests/libfstree/fstree_from_dir.c
+++ b/tests/libfstree/fstree_from_dir.c
@@ -313,11 +313,12 @@ static void check_hierarchy(tree_node_t *root, bool recursive)
TEST_NULL(n);
}
-int main(void)
+int main(int argc, char **argv)
{
struct stat sb;
tree_node_t *n;
fstree_t fs;
+ (void)argc; (void)argv;
/* recursively scan into root */
TEST_ASSERT(fstree_init(&fs, NULL) == 0);