# HG changeset patch # User franky # Date 1557659856 -7200 # Node ID 6424627913beb38aac8732038585f3ab11e593e8 # Parent ffd0e57e95634822216065c5b4c2ca37c7aabd26 Don't try to inline public functions diff -r ffd0e57e9563 -r 6424627913be mcabber/mcabber/histolog.c --- a/mcabber/mcabber/histolog.c Sun May 12 11:32:30 2019 +0200 +++ b/mcabber/mcabber/histolog.c Sun May 12 13:17:36 2019 +0200 @@ -421,8 +421,8 @@ return UseFileLogging; } -inline void hlog_write_message(const char *bjid, time_t timestamp, int sent, - const char *msg) +void hlog_write_message(const char *bjid, time_t timestamp, int sent, + const char *msg) { guchar info; /* sent=1 message sent by mcabber @@ -438,8 +438,8 @@ write_histo_line(bjid, timestamp, 'M', info, msg); } -inline void hlog_write_status(const char *bjid, time_t timestamp, - enum imstatus status, const char *status_msg) +void hlog_write_status(const char *bjid, time_t timestamp, + enum imstatus status, const char *status_msg) { // XXX Check status value? write_histo_line(bjid, timestamp, 'S', toupper(imstatus2char[status]), diff -r ffd0e57e9563 -r 6424627913be mcabber/mcabber/screen.c --- a/mcabber/mcabber/screen.c Sun May 12 11:32:30 2019 +0200 +++ b/mcabber/mcabber/screen.c Sun May 12 13:17:36 2019 +0200 @@ -188,8 +188,8 @@ time_t timestamp, guint prefix_flags, unsigned mucnicklen, gpointer xep184); -inline void scr_update_buddy_window(void); -inline void scr_set_chatmode(int enable); +void scr_update_buddy_window(void); +void scr_set_chatmode(int enable); #define SPELLBADCHAR 5 @@ -1471,7 +1471,7 @@ // (Re)Display the current window. // If chatmode is enabled, call scr_show_buddy_window(), // else display the chat window. -inline void scr_update_buddy_window(void) +void scr_update_buddy_window(void) { if (chatmode) { scr_show_buddy_window(); @@ -3316,7 +3316,7 @@ // scr_set_chatmode() // Public function to (un)set chatmode... -inline void scr_set_chatmode(int enable) +void scr_set_chatmode(int enable) { gboolean enter_chatmode = enable && chatmode == FALSE; chatmode = enable; @@ -3327,14 +3327,14 @@ // scr_get_chatmode() // Public function to get chatmode state. -inline int scr_get_chatmode(void) +int scr_get_chatmode(void) { return chatmode; } // scr_get_multimode() // Public function to get multimode status... -inline int scr_get_multimode(void) +int scr_get_multimode(void) { return multimode; } diff -r ffd0e57e9563 -r 6424627913be mcabber/mcabber/utils.c --- a/mcabber/mcabber/utils.c Sun May 12 11:32:30 2019 +0200 +++ b/mcabber/mcabber/utils.c Sun May 12 13:17:36 2019 +0200 @@ -603,7 +603,7 @@ } -inline void mc_strtolower(char *str) +void mc_strtolower(char *str) { if (!str) return; for ( ; *str; str++)