Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/temperature


Modified Files:
        e_mod_main.c 


Log Message:
more evas_hash_foreach fixes.
add __UNUSED__ where needed.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/temperature/e_mod_main.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -3 -r1.91 -r1.92
--- e_mod_main.c        6 Feb 2008 00:13:25 -0000       1.91
+++ e_mod_main.c        12 Feb 2008 06:14:27 -0000      1.92
@@ -43,8 +43,8 @@
 static void _temperature_face_level_set(Config_Face *inst, double level);
 static void _temperature_face_cb_menu_configure(void *data, E_Menu *m, 
E_Menu_Item *mi);
 
-static Evas_Bool _temperature_face_shutdown(Evas_Hash *hash, const char *key, 
void *hdata, void *fdata);
-static Evas_Bool _temperature_face_id_max(Evas_Hash *hash, const char *key, 
void *hdata, void *fdata);
+static Evas_Bool _temperature_face_shutdown(const Evas_Hash *hash __UNUSED__, 
const char *key __UNUSED__, void *hdata, void *fdata __UNUSED__);
+static Evas_Bool _temperature_face_id_max(const Evas_Hash *hash __UNUSED__, 
const char *key, void *hdata __UNUSED__, void *fdata);
 
 static E_Config_DD *conf_edd = NULL;
 static E_Config_DD *conf_face_edd = NULL;
@@ -360,7 +360,7 @@
 }
 
 static Evas_Bool
-_temperature_face_shutdown(Evas_Hash *hash, const char *key, void *hdata, void 
*fdata)
+_temperature_face_shutdown(const Evas_Hash *hash __UNUSED__, const char *key 
__UNUSED__, void *hdata, void *fdata __UNUSED__)
 {
    Config_Face *inst;
 
@@ -373,11 +373,11 @@
 }
 
 static Evas_Bool
-_temperature_face_id_max(Evas_Hash *hash, const char *key, void *hdata, void 
*fdata)
+_temperature_face_id_max(const Evas_Hash *hash __UNUSED__, const char *key, 
void *hdata __UNUSED__, void *fdata)
 {
    const char *p;
-   int        *max;
-   int         num = -1;
+   int *max;
+   int num = -1;
 
    max = fdata;
    p = strrchr(key, '.');



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to