aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/e_mod_main.c
diff options
context:
space:
mode:
authorsebastid <sebastid>2006-05-31 16:31:51 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2006-05-31 16:31:51 +0000
commit9cb379777f5636e23c1498ef6bd8f26aaf270cf8 (patch)
treee88d0276b26a1329ffaa6ca108f187b6401d998b /src/modules/temperature/e_mod_main.c
parentAdd const (diff)
downloadenlightenment-9cb379777f5636e23c1498ef6bd8f26aaf270cf8.tar.gz
Add const
SVN revision: 23024
Diffstat (limited to 'src/modules/temperature/e_mod_main.c')
-rw-r--r--src/modules/temperature/e_mod_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c
index 8ac83d4f7..e6953c741 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -12,7 +12,7 @@
/***************************************************************************/
/**/
/* gadcon requirements */
-static E_Gadcon_Client *_gc_init(E_Gadcon *gc, char *name, char *id, char *style);
+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);
@@ -52,7 +52,7 @@ static E_Config_DD *conf_edd = NULL;
Config *temperature_config = NULL;
static E_Gadcon_Client *
-_gc_init(E_Gadcon *gc, char *name, char *id, char *style)
+_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
{
Evas_Object *o;
E_Gadcon_Client *gcc;
@@ -217,7 +217,7 @@ _temperature_cb_check(void *data)
therms = ecore_file_ls("/sys/bus/i2c/devices");
if (therms)
{
- char *name, *sensor;
+ const char *name, *sensor;
sensor = temperature_config->sensor_name;
if (!sensor) sensor = "temp1";