Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libarchive/dist/libarchive/test make things com...
details: https://anonhg.NetBSD.org/src/rev/67d175076ada
branches: trunk
changeset: 467181:67d175076ada
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 17 00:37:26 2020 +0000
description:
make things compile (pullup merged)
diffstat:
external/bsd/libarchive/dist/libarchive/test/test_archive_write_set_format_filter_by_ext.c | 2 +-
external/bsd/libarchive/dist/libarchive/test/test_read_format_7zip.c | 8 ++++----
external/bsd/libarchive/dist/libarchive/test/test_sparse_basic.c | 2 +-
external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file.c | 2 +-
external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file_zip64.c | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
diffs (87 lines):
diff -r 5e7bdedfd77f -r 67d175076ada external/bsd/libarchive/dist/libarchive/test/test_archive_write_set_format_filter_by_ext.c
--- a/external/bsd/libarchive/dist/libarchive/test/test_archive_write_set_format_filter_by_ext.c Fri Jan 17 00:37:03 2020 +0000
+++ b/external/bsd/libarchive/dist/libarchive/test/test_archive_write_set_format_filter_by_ext.c Fri Jan 17 00:37:26 2020 +0000
@@ -30,7 +30,7 @@
static void
test_format_filter_by_ext(const char *output_file,
- int format_id, int filter_id, int dot_stored, char * def_ext)
+ int format_id, int filter_id, int dot_stored, const char * def_ext)
{
struct archive_entry *ae;
struct archive *a;
diff -r 5e7bdedfd77f -r 67d175076ada external/bsd/libarchive/dist/libarchive/test/test_read_format_7zip.c
--- a/external/bsd/libarchive/dist/libarchive/test/test_read_format_7zip.c Fri Jan 17 00:37:03 2020 +0000
+++ b/external/bsd/libarchive/dist/libarchive/test/test_read_format_7zip.c Fri Jan 17 00:37:26 2020 +0000
@@ -87,7 +87,7 @@
* 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 @@
* 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 @@
* 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 @@
}
static void
-test_symname()
+test_symname(void)
{
const char *refname = "test_read_format_7zip_symbolic_name.7z";
struct archive_entry *ae;
diff -r 5e7bdedfd77f -r 67d175076ada external/bsd/libarchive/dist/libarchive/test/test_sparse_basic.c
--- a/external/bsd/libarchive/dist/libarchive/test/test_sparse_basic.c Fri Jan 17 00:37:03 2020 +0000
+++ b/external/bsd/libarchive/dist/libarchive/test/test_sparse_basic.c Fri Jan 17 00:37:26 2020 +0000
@@ -472,7 +472,7 @@
}
static void
-test_sparse_whole_file_data()
+test_sparse_whole_file_data(void)
{
struct archive_entry *ae;
int64_t offset;
diff -r 5e7bdedfd77f -r 67d175076ada external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file.c
--- a/external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file.c Fri Jan 17 00:37:03 2020 +0000
+++ b/external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file.c Fri Jan 17 00:37:26 2020 +0000
@@ -84,7 +84,7 @@
unsigned char *central_header, *local_header, *eocd, *eocd_record;
unsigned char *extension_start, *extension_end;
char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'};
- char *file_name = "file";
+ const char *file_name = "file";
#ifndef HAVE_ZLIB_H
zip_version = 10;
diff -r 5e7bdedfd77f -r 67d175076ada external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file_zip64.c
--- a/external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file_zip64.c Fri Jan 17 00:37:03 2020 +0000
+++ b/external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file_zip64.c Fri Jan 17 00:37:26 2020 +0000
@@ -86,7 +86,7 @@
unsigned char *central_header, *local_header, *eocd, *eocd_record;
unsigned char *extension_start, *extension_end;
char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'};
- char *file_name = "file";
+ const char *file_name = "file";
#ifndef HAVE_ZLIB_H
zip_compression = 0;
Home |
Main Index |
Thread Index |
Old Index