summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.h b/device.h
index e2597f710d..09523ecf8a 100644
--- a/device.h
+++ b/device.h
@@ -5,7 +5,7 @@
typedef struct Device Device;
-#include "name.h"
+#include "unit.h"
/* We simply watch devices, we cannot plug/unplug them. That
* simplifies the state engine greatly */
@@ -24,6 +24,6 @@ struct Device {
char **sysfs;
};
-extern const NameVTable device_vtable;
+extern const UnitVTable device_vtable;
#endif