chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: reword some error messages regarding "logs"
[elogind.git]
/
src
/
device.h
diff --git
a/src/device.h
b/src/device.h
index 5757c9139d9470e7ec1a74ed5d7e88b45477a409..ee50cfafc65ed8606f026962990a1f78a1465377 100644
(file)
--- a/
src/device.h
+++ b/
src/device.h
@@
-1,4
+1,4
@@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8
; indent-tabs-mode: nil
-*-*/
#ifndef foodevicehfoo
#define foodevicehfoo
#ifndef foodevicehfoo
#define foodevicehfoo
@@
-38,8
+38,6
@@
typedef enum DeviceState {
struct Device {
Meta meta;
struct Device {
Meta meta;
- DeviceState state;
-
char *sysfs;
/* In order to be able to distuingish dependencies on
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);
devices for the same sysfs path. We chain them up here. */
LIST_FIELDS(struct Device, same_sysfs);
+
+ DeviceState state;
};
extern const UnitVTable device_vtable;
};
extern const UnitVTable device_vtable;