From: Piotr S. <ps...@us...> - 2009-09-17 12:05:42
|
Update of /cvsroot/ayttm/ayttm/modules/icq In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12682/modules/icq Modified Files: icq.c icq_mod.h Log Message: reformatted source code Index: icq.c =================================================================== RCS file: /cvsroot/ayttm/ayttm/modules/icq/icq.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- icq.c 27 Jul 2009 16:42:03 -0000 1.12 +++ icq.c 17 Sep 2009 12:04:58 -0000 1.13 @@ -27,11 +27,15 @@ * ICQ implementation */ -unsigned int module_version() {return CORE_VERSION;} +unsigned int module_version() +{ + return CORE_VERSION; +} + #ifdef __MINGW32__ #define __IN_PLUGIN__ [...2206 lines suppressed...] - struct service_callbacks * sc; + struct service_callbacks *sc; - sc = g_new0( struct service_callbacks, 1 ); + sc = g_new0(struct service_callbacks, 1); sc->query_connected = icq_query_connected; sc->login = icq_login; sc->logout = icq_logout; @@ -1587,9 +1531,8 @@ sc->read_prefs_config = eb_icq_read_prefs_config; sc->write_prefs_config = eb_icq_write_prefs_config; - sc->get_color=eb_icq_get_color; - sc->get_smileys=eb_default_smileys; + sc->get_color = eb_icq_get_color; + sc->get_smileys = eb_default_smileys; return sc; } - Index: icq_mod.h =================================================================== RCS file: /cvsroot/ayttm/ayttm/modules/icq/icq_mod.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- icq_mod.h 1 Apr 2003 07:24:28 -0000 1.1.1.1 +++ icq_mod.h 17 Sep 2009 12:04:58 -0000 1.2 @@ -29,10 +29,9 @@ #ifndef __ICQ_H__ #define __ICQ_H__ - -#include "service.h" -struct service_callbacks * icq_query_callbacks(); +#include "service.h" +struct service_callbacks *icq_query_callbacks(); #endif /*__ICQ_H__*/ |