comparison mcabber/src/jabglue.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 c4ed9e145279
children 3d4c85664dad e1a642472f4e
comparison
equal deleted inserted replaced
1557:31422cb73356 1558:3df441efb7c2
70 static void packethandler(jconn, jpacket); 70 static void packethandler(jconn, jpacket);
71 static void handle_state_events(char* from, xmlnode xmldata); 71 static void handle_state_events(char* from, xmlnode xmldata);
72 72
73 static int evscallback_invitation(eviqs *evp, guint evcontext); 73 static int evscallback_invitation(eviqs *evp, guint evcontext);
74 74
75 inline void update_last_use(void);
76
75 77
76 static void logger(jconn j, int io, const char *buf) 78 static void logger(jconn j, int io, const char *buf)
77 { 79 {
78 scr_LogPrint(LPRINT_DEBUG, "%03s: %s", ((io == 0) ? "OUT" : "IN"), buf); 80 scr_LogPrint(LPRINT_DEBUG, "%03s: %s", ((io == 0) ? "OUT" : "IN"), buf);
79 } 81 }
352 inline const char *jb_getstatusmsg() 354 inline const char *jb_getstatusmsg()
353 { 355 {
354 return mystatusmsg; 356 return mystatusmsg;
355 } 357 }
356 358
357 inline void update_last_use(void) 359 void update_last_use(void)
358 { 360 {
359 iqlast = time(NULL); 361 iqlast = time(NULL);
360 } 362 }
361 363
362 // insert_entity_capabilities(presence_stanza) 364 // insert_entity_capabilities(presence_stanza)