1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-06 09:26:44 +02:00

Use (void) in prototypes instead of ().

Also, removed `__inline` from an extern function (why was it there?).
Also, moved one extern declaration to a header file. There are lots of
these that need to be moved, but one thing at a time.
This commit is contained in:
iphydf
2018-09-13 23:47:47 +00:00
parent bebff3be0e
commit d62902ffb3
19 changed files with 32 additions and 31 deletions

View File

@ -125,7 +125,7 @@ void cmd_join_group(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*ar
TOX_ERR_CONFERENCE_JOIN err;
uint32_t groupnum = tox_conference_join(m, self->num, (uint8_t *) groupkey, length, &err);
uint32_t groupnum = tox_conference_join(m, self->num, (const uint8_t *) groupkey, length, &err);
if (err != TOX_ERR_CONFERENCE_JOIN_OK) {
line_info_add(self, NULL, NULL, NULL, SYS_MSG, 0, 0, "Group chat instance failed to initialize (error %d)", err);