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

@@ -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