Fix build errors due new gcc 10 default for -fno-common

This commit is contained in:
Andrea Mazzoleni 2020-05-18 15:21:42 +02:00
parent 2f9e0e6fdd
commit 5bac3d64a6
9 changed files with 34 additions and 17 deletions

View file

@ -389,14 +389,14 @@ void os_clear(void);
*
* If no log file is selected, it's 0.
*/
FILE* stdlog;
extern FILE* stdlog;
/**
* Exit codes for testing.
*/
int exit_success;
int exit_failure;
int exit_sync_needed;
extern int exit_success;
extern int exit_failure;
extern int exit_sync_needed;
#undef EXIT_SUCCESS
#undef EXIT_FAILURE
#define EXIT_SUCCESS exit_success