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.
This commit is contained in:
parent
e117869ad3
commit
4dd2ae60c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/libarchive/dist/; revision=365636
@ -475,7 +475,7 @@ static struct line {
|
|||||||
int count;
|
int count;
|
||||||
int skip;
|
int skip;
|
||||||
} failed_lines[10000];
|
} failed_lines[10000];
|
||||||
const char *failed_filename;
|
static const char *failed_filename;
|
||||||
|
|
||||||
/* Count this failure, setup up log destination and handle initial report. */
|
/* Count this failure, setup up log destination and handle initial report. */
|
||||||
static void __LA_PRINTFLIKE(3, 4)
|
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). */
|
/* Use "list.h" to create a list of all tests (functions and names). */
|
||||||
#undef DEFINE_TEST
|
#undef DEFINE_TEST
|
||||||
#define DEFINE_TEST(n) { n, #n, 0 },
|
#define DEFINE_TEST(n) { n, #n, 0 },
|
||||||
struct test_list_t tests[] = {
|
static struct test_list_t tests[] = {
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user