From eb0ab2309436bef269b5c7e916ca203886b983bf Mon Sep 17 00:00:00 2001 From: nekobit Date: Wed, 9 Nov 2022 00:10:07 +0000 Subject: [PATCH] Emojos FossilOrigin-Name: 7d2eb657382936d0544694297204b77b5205c002af4905b4ef9c73b0f9059cef --- include/mastodont_chats.h | 4 ++-- src/emoji.c | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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;