summaryrefslogtreecommitdiff
path: root/extras/mk42sqfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mk42sqfs.c')
-rw-r--r--extras/mk42sqfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/mk42sqfs.c b/extras/mk42sqfs.c
index d437ce7..e9b0823 100644
--- a/extras/mk42sqfs.c
+++ b/extras/mk42sqfs.c
@@ -53,7 +53,7 @@ static sqfs_inode_generic_t *create_file_inode(sqfs_id_table_t *idtbl,
return inode;
}
-int main(void)
+int main(int argc, char **argv)
{
sqfs_meta_writer_t *inode_m, *dir_m;
int ret, status = EXIT_FAILURE;
@@ -68,6 +68,7 @@ int main(void)
sqfs_file_t *file;
sqfs_u32 offset;
char buffer[32];
+ (void)argc; (void)argv;
/* get a file object referring to our destination file */
file = sqfs_open_file("42.sqfs", SQFS_FILE_OPEN_OVERWRITE);