mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-29 06:56:44 +02:00
try to limit scope of globals
This commit is contained in:
@ -11,12 +11,16 @@
|
||||
|
||||
#include "toxic_windows.h"
|
||||
#include "misc_tools.h"
|
||||
#include "friendlist.h"
|
||||
|
||||
extern char *DATA_FILE;
|
||||
extern ToxWindow *prompt;
|
||||
|
||||
extern ToxicFriend friends[MAX_FRIENDS_NUM];
|
||||
|
||||
extern uint8_t pending_frnd_requests[MAX_FRIENDS_NUM][TOX_CLIENT_ID_SIZE];
|
||||
extern uint8_t num_frnd_requests;
|
||||
|
||||
extern int num_groupchats;
|
||||
|
||||
/* command functions */
|
||||
|
Reference in New Issue
Block a user