1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Define lock in profanity.h as extern

Fix https://github.com/profanity-im/profanity/issues/1314
This commit is contained in:
Michael Vetter 2020-04-17 10:14:27 +02:00
parent 9be7d29f1b
commit 0e1bccda18
2 changed files with 2 additions and 1 deletions

View File

@ -90,6 +90,7 @@ static void _init(char *log_level, char *config_file, char *log_file, char *them
static void _shutdown(void);
static void _connect_default(const char * const account);
pthread_mutex_t lock;
static gboolean cont = TRUE;
static gboolean force_quit = FALSE;

View File

@ -43,6 +43,6 @@
void prof_run(char *log_level, char *account_name, char *config_file, char *log_file, char *theme_name);
void prof_set_quit(void);
pthread_mutex_t lock;
extern pthread_mutex_t lock;
#endif