summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/mk42sqfs.c3
-rw-r--r--extras/mknastyfs.c3
2 files changed, 4 insertions, 2 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);
diff --git a/extras/mknastyfs.c b/extras/mknastyfs.c
index ecc6b8a..c65759c 100644
--- a/extras/mknastyfs.c
+++ b/extras/mknastyfs.c
@@ -49,7 +49,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;
@@ -63,6 +63,7 @@ int main(void)
sqfs_super_t super;
sqfs_file_t *file;
sqfs_u32 offset;
+ (void)argc; (void)argv;
/* get a file object referring to our destination file */
file = sqfs_open_file("nasty.sqfs", 0);