* tests/unit-tests.c: Fix 'multiple definition of...' with gcc 10

This commit is contained in:
Tim Rühsen 2020-02-22 13:40:50 +01:00
parent 8e130c32ba
commit 04b7369490

View File

@ -37,7 +37,7 @@ as that of the covered work. */
#include "unit-tests.h"
const char *program_argstring = "TEST";
extern const char *program_argstring;
static int tests_run;
@ -69,7 +69,7 @@ all_tests(void)
return NULL;
}
const char *program_name; /* Needed by lib/error.c. */
extern const char *program_name; /* Needed by lib/error.c. */
int
main (int argc _GL_UNUSED, const char *argv[])