summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-11 22:37:10 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-11 22:37:10 +0200
commit7fab9d01b5940a67ca070754361afb9dfaa520f2 (patch)
tree4c1c02f2a01fb255848846edb66c48dc5caf6ba1 /src/device.h
parente364ad0628b5930a671ae5be863b960f4bd748a8 (diff)
pahole: rearrange structs to make them smaller
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.h b/src/device.h
index 5757c9139..515db6564 100644
--- a/src/device.h
+++ b/src/device.h
@@ -38,8 +38,6 @@ typedef enum DeviceState {
struct Device {
Meta meta;
- DeviceState state;
-
char *sysfs;
/* In order to be able to distuingish dependencies on
@@ -47,6 +45,8 @@ struct Device {
devices for the same sysfs path. We chain them up here. */
LIST_FIELDS(struct Device, same_sysfs);
+
+ DeviceState state;
};
extern const UnitVTable device_vtable;