1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-26 23:23:15 +01: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

@@ -16,6 +16,11 @@
extern ToxWindow *prompt;
extern int num_groupchats;
extern ToxicFriend friends[MAX_FRIENDS_NUM];
extern FileSender file_senders[MAX_FILES];
extern uint8_t max_file_senders_index;
void cmd_chat_help(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[MAX_STR_SIZE])
{
wattron(window, COLOR_PAIR(CYAN) | A_BOLD);