Enlightenment CVS committal Author : englebass Project : e_modules Module : net
Dir : e_modules/net/src Modified Files: e_mod_gadcon.c e_mod_gadcon.h e_mod_net.c Log Message: Remove unused variables. Move static function declarations to .c file. A static function is local to a .c file, so no point in declaring them in a .h file. =================================================================== RCS file: /cvs/e/e_modules/net/src/e_mod_gadcon.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- e_mod_gadcon.c 5 Mar 2007 00:09:40 -0000 1.5 +++ e_mod_gadcon.c 15 Mar 2007 13:27:12 -0000 1.6 @@ -4,6 +4,12 @@ #include "e_mod_net.h" #include "e_mod_config.h" +static E_Gadcon_Client *_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style); +static void _gc_shutdown(E_Gadcon_Client *gcc); +static void _gc_orient(E_Gadcon_Client *gcc); +static char *_gc_label(void); +static Evas_Object *_gc_icon(Evas *evas); + static const E_Gadcon_Client_Class _gc_class = { GADCON_CLIENT_CLASS_VERSION, "net", =================================================================== RCS file: /cvs/e/e_modules/net/src/e_mod_gadcon.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_mod_gadcon.h 11 Feb 2007 15:28:53 -0000 1.1 +++ e_mod_gadcon.h 15 Mar 2007 13:27:12 -0000 1.2 @@ -1,12 +1,6 @@ #ifndef E_MOD_GADCON_H #define E_MOD_GADCON_H -static E_Gadcon_Client *_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style); -static void _gc_shutdown(E_Gadcon_Client *gcc); -static void _gc_orient(E_Gadcon_Client *gcc); -static char *_gc_label(void); -static Evas_Object *_gc_icon(Evas *evas); - EAPI void _gc_register(void); EAPI void _gc_unregister(void); =================================================================== RCS file: /cvs/e/e_modules/net/src/e_mod_net.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- e_mod_net.c 5 Mar 2007 00:09:40 -0000 1.11 +++ e_mod_net.c 15 Mar 2007 13:27:12 -0000 1.12 @@ -145,12 +145,12 @@ Instance *inst; Config_Item *ci; E_Container *con; - Evas_Object *bg, *box, *icon, *label; + Evas_Object *bg; Evas_Coord cx, cy, cw, ch; Evas_Coord ox, oy, ow, oh; Evas_List *l; int layer = -1; - int top, wx, wy, ww, wh; + int wx, wy, ww, wh; char buf[PATH_MAX]; inst = data; ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs