diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-09-11 16:13:45 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-09-11 16:13:45 +0000 |
commit | 0f8c7ba2757db59b247f39f0be69af3d88bf7ab6 (patch) | |
tree | 5bc72c1c3aeec63da09615859284240661f9b7af /contrib/libarchive/test_utils | |
parent | aaa1fdb87b7a9219e88f97fe0638f4ab166681e5 (diff) | |
parent | 4dd2ae60c22045bc4e4f53a0cf45028322168ec0 (diff) |
MFV r365636: libarchive: import fix for WARNS=6 builds in testing bits
Two more cases of explicitly marking globals for internal linkage where they
need not be shared. Committed upstream as of a38e62314a1f.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=365637
Diffstat (limited to 'contrib/libarchive/test_utils')
-rw-r--r-- | contrib/libarchive/test_utils/test_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libarchive/test_utils/test_main.c b/contrib/libarchive/test_utils/test_main.c index 7b8aa70fac2a..40dfa52f08f1 100644 --- a/contrib/libarchive/test_utils/test_main.c +++ b/contrib/libarchive/test_utils/test_main.c @@ -475,7 +475,7 @@ static struct line { int count; int skip; } failed_lines[10000]; -const char *failed_filename; +static const char *failed_filename; /* Count this failure, setup up log destination and handle initial report. */ static void __LA_PRINTFLIKE(3, 4) @@ -3458,7 +3458,7 @@ assertion_entry_compare_acls(const char *file, int line, /* Use "list.h" to create a list of all tests (functions and names). */ #undef DEFINE_TEST #define DEFINE_TEST(n) { n, #n, 0 }, -struct test_list_t tests[] = { +static struct test_list_t tests[] = { #include "list.h" }; |