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:
parent
9be7d29f1b
commit
0e1bccda18
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user