diff --git a/include/mastodont_chats.h b/include/mastodont_chats.h index 80ae67a..0997d74 100644 --- a/include/mastodont_chats.h +++ b/include/mastodont_chats.h @@ -61,8 +61,8 @@ mstdnt_chat_json(struct mstdnt_chat* chat, cJSON* js); int mstdnt_chats_json(struct mstdnt_chat* statuses[], - size_t* size, - cJSON* js); + size_t* size, + cJSON* js); int mstdnt_message_json(struct mstdnt_message* message, cJSON* js); diff --git a/src/emoji.c b/src/emoji.c index 1acc940..ee1a1ef 100644 --- a/src/emoji.c +++ b/src/emoji.c @@ -19,7 +19,8 @@ #include #include -void load_emoji_from_json(struct mstdnt_emoji* emo, cJSON* emo_json) +void +load_emoji_from_json(struct mstdnt_emoji* emo, cJSON* emo_json) { cJSON* it; @@ -38,7 +39,8 @@ void load_emoji_from_json(struct mstdnt_emoji* emo, cJSON* emo_json) _mstdnt_key_val_ref(it, refs, _mstdnt_arr_len(refs)); } -void load_emoji_react_from_json(struct mstdnt_emoji_reaction* emo, cJSON* emo_json) +void +load_emoji_react_from_json(struct mstdnt_emoji_reaction* emo, cJSON* emo_json) { cJSON* it;