aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_powersave.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2010-11-22 15:21:32 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2010-11-22 15:21:32 +0000
commit6f2213cb25c6ec810bfeeab106e4fcbfe3922792 (patch)
treef9013370a7fa06d8bc35416ba7bd8f43fa9843c5 /src/bin/e_powersave.c
parentdo not abuse _init(), provide _update() method instead. (diff)
downloadenlightenment-6f2213cb25c6ec810bfeeab106e4fcbfe3922792.tar.gz
convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those that needed multiple call are renamed to e_*_update(). To make sure convert them to EINTERN so the symbols are not exported. Actually I guess too much is exported as EAPI while they should be EINTERN, but that would require manual investigation, while this patch was basically created with sed + grep. SVN revision: 54795
Diffstat (limited to 'src/bin/e_powersave.c')
-rw-r--r--src/bin/e_powersave.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_powersave.c b/src/bin/e_powersave.c
index 8ab379a30..e073d527e 100644
--- a/src/bin/e_powersave.c
+++ b/src/bin/e_powersave.c
@@ -23,7 +23,7 @@ static E_Powersave_Mode powersave_mode = E_POWERSAVE_MODE_LOW;
static double defer_time = 5.0;
/* externally accessible functions */
-EAPI int
+EINTERN int
e_powersave_init(void)
{
_e_powersave_mode_eval();
@@ -31,7 +31,7 @@ e_powersave_init(void)
return 1;
}
-EAPI int
+EINTERN int
e_powersave_shutdown(void)
{
return 1;