mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 22:16:22 +00:00
Define lock in profanity.h as extern
Fix https://github.com/profanity-im/profanity/issues/1314
This commit is contained in:
@@ -90,6 +90,7 @@ static void _init(char *log_level, char *config_file, char *log_file, char *them
|
|||||||
static void _shutdown(void);
|
static void _shutdown(void);
|
||||||
static void _connect_default(const char * const account);
|
static void _connect_default(const char * const account);
|
||||||
|
|
||||||
|
pthread_mutex_t lock;
|
||||||
static gboolean cont = TRUE;
|
static gboolean cont = TRUE;
|
||||||
static gboolean force_quit = FALSE;
|
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_run(char *log_level, char *account_name, char *config_file, char *log_file, char *theme_name);
|
||||||
void prof_set_quit(void);
|
void prof_set_quit(void);
|
||||||
|
|
||||||
pthread_mutex_t lock;
|
extern pthread_mutex_t lock;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user