Mercurial > ~mikael > mcabber > hg
diff mcabber/src/screen.c @ 1558:3df441efb7c2
Fix gcc warnings related to inline/static uses
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 10 Oct 2008 20:29:15 +0200 |
parents | 5ef122b2bb75 |
children | 2e86c1cc4eb1 |
line wrap: on
line diff
--- a/mcabber/src/screen.c Fri Oct 10 19:31:41 2008 +0200 +++ b/mcabber/src/screen.c Fri Oct 10 20:29:15 2008 +0200 @@ -155,6 +155,9 @@ unsigned int prefix_flags, int force_show, unsigned mucnicklen); +inline void scr_WriteMessage(const char *bjid, const char *text, + time_t timestamp, guint prefix_flags, + unsigned mucnicklen); inline void scr_UpdateBuddyWindow(void); inline void scr_set_chatmode(int enable); @@ -2028,9 +2031,9 @@ } #endif -inline void scr_WriteMessage(const char *bjid, const char *text, - time_t timestamp, guint prefix_flags, - unsigned mucnicklen) +void scr_WriteMessage(const char *bjid, const char *text, + time_t timestamp, guint prefix_flags, + unsigned mucnicklen) { char *xtext; @@ -2153,7 +2156,7 @@ } #if defined JEP0022 || defined JEP0085 -inline long int scr_GetChatStatesTimeout(time_t now) +long int scr_GetChatStatesTimeout(time_t now) { // Check if we're currently composing... if (chatstate != 1 || !chatstate_timestamp) @@ -2932,7 +2935,7 @@ // scr_cmdhisto_addline() // Add a line to the inputLine history -inline void scr_cmdhisto_addline(char *line) +static inline void scr_cmdhisto_addline(char *line) { int max_histo_lines;