mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-04 20:36:45 +02:00
cleanup: Reduce the amount of "extern" in .c files.
There is no check at all that the types of externs actually match the type of the definition. This just accidentally was not a problem, but now the compiler helps a bit in keeping it that way.
This commit is contained in:
@ -74,7 +74,7 @@
|
||||
#ifdef VIDEO
|
||||
#include "video_call.h"
|
||||
#endif /* VIDEO */
|
||||
ToxAV *av;
|
||||
static ToxAV *av;
|
||||
#endif /* AUDIO */
|
||||
|
||||
#ifdef PYTHON
|
||||
@ -98,8 +98,8 @@ ToxWindow *prompt = NULL;
|
||||
#define MAX_PASSWORD_LEN 64
|
||||
|
||||
struct Winthread Winthread;
|
||||
struct cqueue_thread cqueue_thread;
|
||||
struct av_thread av_thread;
|
||||
static struct cqueue_thread cqueue_thread;
|
||||
static struct av_thread av_thread;
|
||||
struct arg_opts arg_opts;
|
||||
|
||||
// This struct is not thread safe. It should only ever be written to from the main thread
|
||||
|
Reference in New Issue
Block a user