X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fdevice.h;h=515db65644b144c42fe9d568e87a3d14aa0e29b6;hb=8630d370239482b6e4913e81011440b173e41b79;hp=5757c9139d9470e7ec1a74ed5d7e88b45477a409;hpb=8fe914ec81d9f57bcc083036f528b00119ed2e3b;p=elogind.git 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;