aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_atoms.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_atoms.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_atoms.c')
-rw-r--r--src/bin/e_atoms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_atoms.c b/src/bin/e_atoms.c
index 44016de31..094e44f59 100644
--- a/src/bin/e_atoms.c
+++ b/src/bin/e_atoms.c
@@ -14,7 +14,7 @@ EAPI Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED = 0;
EAPI Ecore_X_Atom E_ATOM_DESKTOP_FILE = 0;
/* externally accessible functions */
-EAPI int
+EINTERN int
e_atoms_init(void)
{
const char *atom_names[] = {
@@ -47,7 +47,7 @@ e_atoms_init(void)
return 1;
}
-EAPI int
+EINTERN int
e_atoms_shutdown(void)
{
/* Nothing really to do here yet, just present for consistency right now */