reorder functions

SVN revision: 53330
This commit is contained in:
Mike Blumenkrantz 2010-10-13 02:53:30 +00:00
parent 33f0bae5cb
commit ebd35ca204
1 changed files with 18 additions and 31 deletions

View File

@ -83,20 +83,17 @@ void *alloca (size_t);
#include "e_fm_shared_codec.h" #include "e_fm_shared_codec.h"
#include "e_fm_ipc.h" #include "e_fm_ipc.h"
static void
_e_fm_init(void)
{
_E_FM(init)();
}
static void _e_fm_init(void); static void
static void _e_fm_shutdown(void); _e_fm_shutdown(void)
{
/* contains: _E_FM(shutdown)();
* _e_volume_edd }
* _e_storage_edd
* _e_volume_free()
* _e_storage_free()
* _e_volume_edd_new()
* _e_storage_edd_new()
* _e_storage_volume_edd_init()
* _e_storage_volume_edd_shutdown()
*/
/* externally accessible functions */ /* externally accessible functions */
int int
@ -149,18 +146,20 @@ main(int argc, char **argv)
eina_shutdown(); eina_shutdown();
} }
static void void
_e_fm_init(void) _e_storage_free(E_Storage *s)
{ {
_E_FM(init)(); _e_fm_shared_device_storage_free(s);
} }
static void void
_e_fm_shutdown(void) _e_volume_free(E_Volume *v)
{ {
_E_FM(shutdown)(); _e_fm_shared_device_volume_free(v);
} }
/* API functions */
EAPI void EAPI void
e_volume_mount(E_Volume *v) e_volume_mount(E_Volume *v)
{ {
@ -197,15 +196,3 @@ e_storage_find(const char *udi)
{ {
return _E_FM(storage_find)(udi); return _E_FM(storage_find)(udi);
} }
void
_e_storage_free(E_Storage *s)
{
_e_fm_shared_device_storage_free(s);
}
void
_e_volume_free(E_Volume *v)
{
_e_fm_shared_device_volume_free(v);
}