1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 20:06:45 +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

@ -15,15 +15,13 @@
#include "misc_tools.h"
#include "groupchat.h"
static GroupChat groupchats[MAX_GROUPCHAT_NUM];
static int max_groupchat_index = 0;
int num_groupchats = 0;
ToxWindow new_group_chat(Tox *m, int groupnum);
extern char *DATA_FILE;
extern int store_data(Tox *m, char *path);
GroupChat groupchats[MAX_GROUPCHAT_NUM];
int num_groupchats = 0;
static int max_groupchat_index = 0;
int init_groupchat_win(ToxWindow *prompt, Tox *m, int groupnum)
{
int i;