1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 03:26:46 +02:00

rename reserved identifiers per C standard

This commit is contained in:
Jfreegman
2014-09-22 21:24:45 -04:00
parent bf54cb36ef
commit 133c0e8d63
41 changed files with 316 additions and 312 deletions

View File

@ -70,7 +70,7 @@ void cmd_accept(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[
on_friendadded(m, friendnum, true);
}
memset(&FriendRequests.request[req], 0, sizeof(struct _friend_request));
memset(&FriendRequests.request[req], 0, sizeof(struct friend_request));
int i;
@ -232,7 +232,7 @@ void cmd_decline(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)
return;
}
memset(&FriendRequests.request[req], 0, sizeof(struct _friend_request));
memset(&FriendRequests.request[req], 0, sizeof(struct friend_request));
int i;