diff options
author | Christopher Michael <cpmichael1@comcast.net> | 2006-06-06 09:59:16 +0000 |
---|---|---|
committer | Christopher Michael <cpmichael1@comcast.net> | 2006-06-06 09:59:16 +0000 |
commit | ac459c4c810ea2e96c07dac6ace4f8fe5e96089c (patch) | |
tree | 7a426e07128096627d73788277a2e10eb7ba3c41 /src/modules | |
parent | 27522ef15ce8605db341f533ca978e68619332f2 (diff) | |
download | enlightenment-ac459c4c810ea2e96c07dac6ace4f8fe5e96089c.tar.gz |
Fix e_modapi_init to return int, not void.
SVN revision: 23208
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/battery/e_mod_main.c | 2 | ||||
-rw-r--r-- | src/modules/battery/e_mod_main.h | 2 | ||||
-rw-r--r-- | src/modules/clock/e_mod_main.c | 2 | ||||
-rw-r--r-- | src/modules/clock/e_mod_main.h | 2 | ||||
-rw-r--r-- | src/modules/cpufreq/e_mod_main.c | 2 | ||||
-rw-r--r-- | src/modules/cpufreq/e_mod_main.h | 2 | ||||
-rw-r--r-- | src/modules/ibox/e_mod_main.c | 2 | ||||
-rw-r--r-- | src/modules/ibox/e_mod_main.h | 2 | ||||
-rw-r--r-- | src/modules/start/e_mod_main.c | 2 | ||||
-rw-r--r-- | src/modules/start/e_mod_main.h | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c index 89c5627e80..a73e91129e 100644 --- a/src/modules/battery/e_mod_main.c +++ b/src/modules/battery/e_mod_main.c @@ -1363,7 +1363,7 @@ EAPI E_Module_Api e_modapi = "Battery" }; -EAPI void * +EAPI int e_modapi_init(E_Module *m) { conf_edd = E_CONFIG_DD_NEW("Battery_Config", Config); diff --git a/src/modules/battery/e_mod_main.h b/src/modules/battery/e_mod_main.h index e97247a06f..b5245a2ee6 100644 --- a/src/modules/battery/e_mod_main.h +++ b/src/modules/battery/e_mod_main.h @@ -60,7 +60,7 @@ struct _Status EAPI extern E_Module_Api e_modapi; -EAPI void *e_modapi_init (E_Module *m); +EAPI int e_modapi_init (E_Module *m); EAPI int e_modapi_shutdown (E_Module *m); EAPI int e_modapi_save (E_Module *m); EAPI int e_modapi_about (E_Module *m); diff --git a/src/modules/clock/e_mod_main.c b/src/modules/clock/e_mod_main.c index d7be1810c9..0ed8e13621 100644 --- a/src/modules/clock/e_mod_main.c +++ b/src/modules/clock/e_mod_main.c @@ -119,7 +119,7 @@ EAPI E_Module_Api e_modapi = "Clock" }; -EAPI void * +EAPI int e_modapi_init(E_Module *m) { clock_module = m; diff --git a/src/modules/clock/e_mod_main.h b/src/modules/clock/e_mod_main.h index a24ec2e3e4..b4acd3d8d3 100644 --- a/src/modules/clock/e_mod_main.h +++ b/src/modules/clock/e_mod_main.h @@ -6,7 +6,7 @@ EAPI extern E_Module_Api e_modapi; -EAPI void *e_modapi_init (E_Module *m); +EAPI int e_modapi_init (E_Module *m); EAPI int e_modapi_shutdown (E_Module *m); EAPI int e_modapi_save (E_Module *m); EAPI int e_modapi_about (E_Module *m); diff --git a/src/modules/cpufreq/e_mod_main.c b/src/modules/cpufreq/e_mod_main.c index ee8c9ae34a..c177663e35 100644 --- a/src/modules/cpufreq/e_mod_main.c +++ b/src/modules/cpufreq/e_mod_main.c @@ -835,7 +835,7 @@ EAPI E_Module_Api e_modapi = "Cpufreq" }; -EAPI void * +EAPI int e_modapi_init(E_Module *m) { char buf[4096]; diff --git a/src/modules/cpufreq/e_mod_main.h b/src/modules/cpufreq/e_mod_main.h index 6ae392f8a3..086638c681 100644 --- a/src/modules/cpufreq/e_mod_main.h +++ b/src/modules/cpufreq/e_mod_main.h @@ -34,7 +34,7 @@ struct _Config EAPI extern E_Module_Api e_modapi; -EAPI void *e_modapi_init (E_Module *m); +EAPI int e_modapi_init (E_Module *m); EAPI int e_modapi_shutdown (E_Module *m); EAPI int e_modapi_save (E_Module *m); EAPI int e_modapi_about (E_Module *m); diff --git a/src/modules/ibox/e_mod_main.c b/src/modules/ibox/e_mod_main.c index 7da447daaf..522f589202 100644 --- a/src/modules/ibox/e_mod_main.c +++ b/src/modules/ibox/e_mod_main.c @@ -1281,7 +1281,7 @@ EAPI E_Module_Api e_modapi = "IBox" }; -EAPI void * +EAPI int e_modapi_init(E_Module *m) { conf_item_edd = E_CONFIG_DD_NEW("IBox_Config_Item", Config_Item); diff --git a/src/modules/ibox/e_mod_main.h b/src/modules/ibox/e_mod_main.h index a98580e877..42e7c90a77 100644 --- a/src/modules/ibox/e_mod_main.h +++ b/src/modules/ibox/e_mod_main.h @@ -29,7 +29,7 @@ struct _Config_Item EAPI extern E_Module_Api e_modapi; -EAPI void *e_modapi_init (E_Module *m); +EAPI int e_modapi_init (E_Module *m); EAPI int e_modapi_shutdown (E_Module *m); EAPI int e_modapi_save (E_Module *m); EAPI int e_modapi_about (E_Module *m); diff --git a/src/modules/start/e_mod_main.c b/src/modules/start/e_mod_main.c index 10317b600d..625fc667f9 100644 --- a/src/modules/start/e_mod_main.c +++ b/src/modules/start/e_mod_main.c @@ -225,7 +225,7 @@ EAPI E_Module_Api e_modapi = "Start" }; -EAPI void * +EAPI int e_modapi_init(E_Module *m) { start_module = m; diff --git a/src/modules/start/e_mod_main.h b/src/modules/start/e_mod_main.h index 9e598fcb83..5452249cc6 100644 --- a/src/modules/start/e_mod_main.h +++ b/src/modules/start/e_mod_main.h @@ -6,7 +6,7 @@ EAPI extern E_Module_Api e_modapi; -EAPI void *e_modapi_init (E_Module *m); +EAPI int e_modapi_init (E_Module *m); EAPI int e_modapi_shutdown (E_Module *m); EAPI int e_modapi_save (E_Module *m); EAPI int e_modapi_about (E_Module *m); |