1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

message.c: Make several functions static

This commit is contained in:
Michael Vetter 2020-07-02 15:21:54 +02:00
parent 10190b5fb0
commit 3350139ed0

View File

@ -989,7 +989,7 @@ out:
message_free(message);
}
void
static void
_message_send_receipt(const char *const fulljid, const char *const message_id)
{
xmpp_ctx_t * const ctx = connection_get_ctx();
@ -1034,7 +1034,7 @@ _handle_receipt_received(xmpp_stanza_t *const stanza)
jid_destroy(jidp);
}
void
static void
_receipt_request_handler(xmpp_stanza_t *const stanza)
{
if (!prefs_get_boolean(PREF_RECEIPTS_SEND)) {
@ -1487,7 +1487,7 @@ message_is_sent_by_us(const ProfMessage *const message, bool checkOID) {
}
#ifdef HAVE_LIBGPGME
xmpp_stanza_t*
static xmpp_stanza_t*
_openpgp_signcrypt(xmpp_ctx_t* ctx, const char* const to, const char* const text)
{
time_t now = time(NULL);