1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-05 03: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

@ -23,6 +23,7 @@ static int max_friends_index = 0; /* marks the index of the last friend in fr
static int num_friends = 0;
static int num_selected = 0;
ToxicFriend friends[MAX_FRIENDS_NUM];
static int friendlist_index[MAX_FRIENDS_NUM] = {0};
static int index_name_cmp(const void *n1, const void *n2)