Define lock in profanity.h as extern
Fix https://github.com/profanity-im/profanity/issues/1314
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user