Improve const correctness.
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
@@ -403,7 +403,7 @@ chatwin_incoming_msg(ProfChatWin* chatwin, ProfMessage* message, gboolean win_cr
|
||||
}
|
||||
|
||||
void
|
||||
chatwin_outgoing_msg(ProfChatWin* chatwin, const char* const message, char* id, prof_enc_t enc_mode,
|
||||
chatwin_outgoing_msg(ProfChatWin* chatwin, const char* const message, const char* id, prof_enc_t enc_mode,
|
||||
gboolean request_receipt, const char* const replace_id)
|
||||
{
|
||||
assert(chatwin != NULL);
|
||||
|
||||
@@ -127,7 +127,7 @@ ProfChatWin* chatwin_new(const char* const barejid);
|
||||
void chatwin_incoming_msg(ProfChatWin* chatwin, ProfMessage* message, gboolean win_created);
|
||||
void chatwin_receipt_received(ProfChatWin* chatwin, const char* const id);
|
||||
void chatwin_recipient_gone(ProfChatWin* chatwin);
|
||||
void chatwin_outgoing_msg(ProfChatWin* chatwin, const char* const message, char* id, prof_enc_t enc_mode, gboolean request_receipt, const char* const replace_id);
|
||||
void chatwin_outgoing_msg(ProfChatWin* chatwin, const char* const message, const char* id, prof_enc_t enc_mode, gboolean request_receipt, const char* const replace_id);
|
||||
void chatwin_outgoing_carbon(ProfChatWin* chatwin, ProfMessage* message);
|
||||
void chatwin_contact_online(ProfChatWin* chatwin, Resource* resource, GDateTime* last_activity);
|
||||
void chatwin_contact_offline(ProfChatWin* chatwin, char* resource, char* status);
|
||||
|
||||
@@ -1617,7 +1617,7 @@ win_print_http_transfer(ProfWin* window, const char* const message, char* id)
|
||||
}
|
||||
|
||||
void
|
||||
win_print_outgoing_with_receipt(ProfWin* window, const char* show_char, const char* const from, const char* const message, char* id, const char* const replace_id)
|
||||
win_print_outgoing_with_receipt(ProfWin* window, const char* show_char, const char* const from, const char* const message, const char* id, const char* const replace_id)
|
||||
{
|
||||
GDateTime* time = g_date_time_new_now_local();
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ void win_show_status_string(ProfWin* window, const char* const from,
|
||||
void win_print_them(ProfWin* window, theme_item_t theme_item, const char* const show_char, int flags, const char* const them);
|
||||
void win_print_incoming(ProfWin* window, const char* const from, ProfMessage* message);
|
||||
void win_print_outgoing(ProfWin* window, const char* show_char, const char* const id, const char* const replace_id, const char* const message);
|
||||
void win_print_outgoing_with_receipt(ProfWin* window, const char* show_char, const char* const from, const char* const message, char* id, const char* const replace_id);
|
||||
void win_print_outgoing_with_receipt(ProfWin* window, const char* show_char, const char* const from, const char* const message, const char* id, const char* const replace_id);
|
||||
void win_println_incoming_muc_msg(ProfWin* window, char* show_char, int flags, const ProfMessage* const message);
|
||||
void win_print_outgoing_muc_msg(ProfWin* window, char* show_char, const char* const me, const char* const id, const char* const replace_id, const char* const message);
|
||||
void win_print_history(ProfWin* window, const ProfMessage* const message);
|
||||
|
||||
@@ -277,7 +277,7 @@ chatwin_recipient_gone(ProfChatWin* chatwin)
|
||||
}
|
||||
|
||||
void
|
||||
chatwin_outgoing_msg(ProfChatWin* chatwin, const char* const message, char* id, prof_enc_t enc_mode, gboolean request_receipt, const char* const replace_id)
|
||||
chatwin_outgoing_msg(ProfChatWin* chatwin, const char* const message, const char* id, prof_enc_t enc_mode, gboolean request_receipt, const char* const replace_id)
|
||||
{
|
||||
}
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user