Fix gcc-10 compilation (fno-common flag enabled by default)

This commit is contained in:
Romain Tisserand 2020-07-11 21:29:09 +02:00
parent 957bc49da9
commit 5b6639c8a7
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ typedef struct _CONFIGURATION {
enum codecs codec;
} CONFIGURATION, *PCONFIGURATION;
bool inputAdded;
extern bool inputAdded;
bool config_file_parse(char* filename, PCONFIGURATION config);
void config_parse(int argc, char* argv[], PCONFIGURATION config);

View File

@ -36,7 +36,7 @@
void sdl_init(int width, int height, bool fullscreen);
void sdl_loop();
SDL_mutex *mutex;
int sdlCurrentFrame, sdlNextFrame;
extern SDL_mutex *mutex;
extern int sdlCurrentFrame, sdlNextFrame;
#endif /* HAVE_SDL */