mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-02 09:16: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:
@ -160,7 +160,7 @@ void prompt_update_statusmessage(ToxWindow *prompt, Tox *m, const char *statusms
|
||||
statusbar->statusmsg_len = len;
|
||||
|
||||
TOX_ERR_SET_INFO err;
|
||||
tox_self_set_status_message(m, (uint8_t *) statusmsg, len, &err);
|
||||
tox_self_set_status_message(m, (const uint8_t *) statusmsg, len, &err);
|
||||
|
||||
if (err != TOX_ERR_SET_INFO_OK) {
|
||||
line_info_add(prompt, NULL, NULL, NULL, SYS_MSG, 0, 0, "Failed to set note (error %d)\n", err);
|
||||
|
Reference in New Issue
Block a user