1
0
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:
Jfreegman
2013-11-29 18:52:21 -05:00
parent 7ad520f128
commit 57c2872b75
10 changed files with 36 additions and 26 deletions

View File

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