Formatting & Whitespace Removal

SVN revision: 41441
This commit is contained in:
Christopher Michael 2009-07-19 20:16:49 +00:00
parent e79f4205ea
commit 0df3f4e2d9
1 changed files with 32 additions and 41 deletions

View File

@ -9,25 +9,20 @@ typedef struct _E_Fm2_Mount E_Fm2_Mount;
struct _E_Storage struct _E_Storage
{ {
int type; int type;
char *udi; char *udi, *bus;
char *bus;
char *drive_type; char *drive_type;
char *model; char *model, *vendor, *serial;
char *vendor;
char *serial;
char removable; char removable, media_available;
char media_available;
unsigned long long media_size; unsigned long long media_size;
char requires_eject; char requires_eject, hotpluggable;
char hotpluggable;
char media_check_enabled; char media_check_enabled;
struct { struct
char *drive; {
char *volume; char *drive, *volume;
} icon; } icon;
Eina_List *volumes; Eina_List *volumes;
@ -39,11 +34,8 @@ struct _E_Storage
struct _E_Volume struct _E_Volume
{ {
int type; int type;
char *udi; char *udi, *uuid;
char *uuid; char *label, *icon, *fstype;
char *label;
char *icon;
char *fstype;
unsigned long long size; unsigned long long size;
char partition; char partition;
@ -120,7 +112,6 @@ _e_storage_free(E_Storage *s)
if (s->udi) free(s->udi); if (s->udi) free(s->udi);
if (s->bus) free(s->bus); if (s->bus) free(s->bus);
if (s->drive_type) free(s->drive_type); if (s->drive_type) free(s->drive_type);
if (s->model) free(s->model); if (s->model) free(s->model);
if (s->vendor) free(s->vendor); if (s->vendor) free(s->vendor);
if (s->serial) free(s->serial); if (s->serial) free(s->serial);