diff options
Diffstat (limited to 'toxcore/group.c')
-rw-r--r-- | toxcore/group.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/group.c b/toxcore/group.c index f1086657..dbfb31cd 100644 --- a/toxcore/group.c +++ b/toxcore/group.c | |||
@@ -1188,7 +1188,7 @@ static unsigned int send_message_group(const Group_Chats *g_c, int groupnumber, | |||
1188 | uint16_t len); | 1188 | uint16_t len); |
1189 | 1189 | ||
1190 | #define GROUP_MESSAGE_PING_ID 0 | 1190 | #define GROUP_MESSAGE_PING_ID 0 |
1191 | int group_ping_send(const Group_Chats *g_c, int groupnumber) | 1191 | static int group_ping_send(const Group_Chats *g_c, int groupnumber) |
1192 | { | 1192 | { |
1193 | if (send_message_group(g_c, groupnumber, GROUP_MESSAGE_PING_ID, 0, 0)) { | 1193 | if (send_message_group(g_c, groupnumber, GROUP_MESSAGE_PING_ID, 0, 0)) { |
1194 | return 0; | 1194 | return 0; |
@@ -1203,8 +1203,8 @@ int group_ping_send(const Group_Chats *g_c, int groupnumber) | |||
1203 | * return 0 on success | 1203 | * return 0 on success |
1204 | * return -1 on failure | 1204 | * return -1 on failure |
1205 | */ | 1205 | */ |
1206 | int group_new_peer_send(const Group_Chats *g_c, int groupnumber, uint16_t peer_num, const uint8_t *real_pk, | 1206 | static int group_new_peer_send(const Group_Chats *g_c, int groupnumber, uint16_t peer_num, const uint8_t *real_pk, |
1207 | uint8_t *temp_pk) | 1207 | uint8_t *temp_pk) |
1208 | { | 1208 | { |
1209 | uint8_t packet[GROUP_MESSAGE_NEW_PEER_LENGTH]; | 1209 | uint8_t packet[GROUP_MESSAGE_NEW_PEER_LENGTH]; |
1210 | 1210 | ||