summaryrefslogtreecommitdiff
path: root/toxcore/group.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-03-14 03:37:28 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-03-14 13:40:36 +0000
commit94d98ddd863279d5bf811d0107d73c373380dda2 (patch)
tree543a21f95e30c86e314dce4577f99421789bba0d /toxcore/group.c
parentcb22b3df5f0b7509a37e091360ecbb4d8a9f2873 (diff)
Standardise on having a comma at the end of enums.
Most of our enums already have one. Some didn't. Tokstyle is going to require commas at the end of enumerator lists in enum definitions.
Diffstat (limited to 'toxcore/group.c')
-rw-r--r--toxcore/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/group.c b/toxcore/group.c
index 3b9c7f40..aebf3092 100644
--- a/toxcore/group.c
+++ b/toxcore/group.c
@@ -265,7 +265,7 @@ static uint64_t calculate_comp_value(const uint8_t *pk1, const uint8_t *pk2)
265typedef enum Groupchat_Closest { 265typedef enum Groupchat_Closest {
266 GROUPCHAT_CLOSEST_NONE, 266 GROUPCHAT_CLOSEST_NONE,
267 GROUPCHAT_CLOSEST_ADDED, 267 GROUPCHAT_CLOSEST_ADDED,
268 GROUPCHAT_CLOSEST_REMOVED 268 GROUPCHAT_CLOSEST_REMOVED,
269} Groupchat_Closest; 269} Groupchat_Closest;
270 270
271static int add_to_closest(Group_Chats *g_c, uint32_t groupnumber, const uint8_t *real_pk, const uint8_t *temp_pk) 271static int add_to_closest(Group_Chats *g_c, uint32_t groupnumber, const uint8_t *real_pk, const uint8_t *temp_pk)