Mercurial > hg
changeset 1398:f8321420ed7a
Remove useless inline's
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 13 Dec 2007 20:02:40 +0100 |
parents | 5f91bac887ee |
children | 187985455020 |
files | mcabber/src/hooks.c mcabber/src/hooks.h |
diffstat | 2 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/hooks.c Mon Dec 10 22:15:08 2007 +0100 +++ b/mcabber/src/hooks.c Thu Dec 13 20:02:40 2007 +0100 @@ -37,7 +37,7 @@ static const char *COMMAND_ME = "/me "; -inline void hk_message_in(const char *bjid, const char *resname, +void hk_message_in(const char *bjid, const char *resname, time_t timestamp, const char *msg, const char *type, guint encrypted) { @@ -225,7 +225,7 @@ // hk_message_out() // nick should be set for private messages in a chat room, and null for // normal messages. -inline void hk_message_out(const char *bjid, const char *nick, +void hk_message_out(const char *bjid, const char *nick, time_t timestamp, const char *msg, guint encrypted) { char *wmsg = NULL, *bmsg = NULL, *mmsg = NULL; @@ -263,7 +263,7 @@ g_free(mmsg); } -inline void hk_statuschange(const char *bjid, const char *resname, gchar prio, +void hk_statuschange(const char *bjid, const char *resname, gchar prio, time_t timestamp, enum imstatus status, const char *status_msg) { @@ -323,7 +323,7 @@ hk_ext_cmd(bjid, 'S', imstatus2char[status], NULL); } -inline void hk_mystatuschange(time_t timestamp, enum imstatus old_status, +void hk_mystatuschange(time_t timestamp, enum imstatus old_status, enum imstatus new_status, const char *msg) { scr_LogPrint(LPRINT_LOGNORM, "Your status has been set: [%c>%c] %s",
--- a/mcabber/src/hooks.h Mon Dec 10 22:15:08 2007 +0100 +++ b/mcabber/src/hooks.h Thu Dec 13 20:02:40 2007 +0100 @@ -5,15 +5,15 @@ #include "jabglue.h" -inline void hk_message_in(const char *bjid, const char *resname, +void hk_message_in(const char *bjid, const char *resname, time_t timestamp, const char *msg, const char *type, guint encrypted); -inline void hk_message_out(const char *bjid, const char *nickname, +void hk_message_out(const char *bjid, const char *nickname, time_t timestamp, const char *msg, guint encrypted); -inline void hk_statuschange(const char *bjid, const char *resname, gchar prio, +void hk_statuschange(const char *bjid, const char *resname, gchar prio, time_t timestamp, enum imstatus status, char const *status_msg); -inline void hk_mystatuschange(time_t timestamp, +void hk_mystatuschange(time_t timestamp, enum imstatus old_status, enum imstatus new_status, const char *msg);