diff mcabber/mcabber/histolog.c @ 2338:6424627913be

Don't try to inline public functions
author franky
date Sun, 12 May 2019 13:17:36 +0200
parents f5402d705f67
children
line wrap: on
line diff
--- 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]),