]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
ANSI-C prototypes 1316/head
authorzoulasc <christos@zoulas.com>
Thu, 16 Jan 2020 20:34:32 +0000 (15:34 -0500)
committerzoulasc <christos@zoulas.com>
Thu, 16 Jan 2020 20:34:32 +0000 (15:34 -0500)
libarchive/test/test_read_format_7zip.c
libarchive/test/test_sparse_basic.c

index 1d1e4c75d2d6d724859f6da7193666f17d856561..7eb9d3c44eef8258e7e7184beb9d7acd603cb9b6 100644 (file)
@@ -87,7 +87,7 @@ test_copy(int use_open_fd)
  * An archive file has no entry.
  */
 static void
-test_empty_archive()
+test_empty_archive(void)
 {
        const char *refname = "test_read_format_7zip_empty_archive.7z";
        struct archive_entry *ae;
@@ -119,7 +119,7 @@ test_empty_archive()
  * in the archive file except for a header.
  */
 static void
-test_empty_file()
+test_empty_file(void)
 {
        const char *refname = "test_read_format_7zip_empty_file.7z";
        struct archive_entry *ae;
@@ -609,7 +609,7 @@ test_bcj(const char *refname)
  * Extract a file compressed with PPMd.
  */
 static void
-test_ppmd()
+test_ppmd(void)
 {
        const char *refname = "test_read_format_7zip_ppmd.7z";
        struct archive_entry *ae;
@@ -663,7 +663,7 @@ test_ppmd()
 }
 
 static void
-test_symname()
+test_symname(void)
 {
        const char *refname = "test_read_format_7zip_symbolic_name.7z";
        struct archive_entry *ae;
index 5ad591be830d71345b58cc5c3d28488635559873..033c052db001200d4fa4c3442e8b9eb0de9ef93d 100644 (file)
@@ -472,7 +472,7 @@ verify_sparse_file2(struct archive *a, const char *path,
 }
 
 static void
-test_sparse_whole_file_data()
+test_sparse_whole_file_data(void)
 {
        struct archive_entry *ae;
        int64_t offset;