X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=device.h;h=09523ecf8a843370e17fe7275c35699e187e8372;hp=e2597f710dec01f9ec43905a401d9633e3deb89d;hb=09b6b09f44b36b52b8a20ba18446e3ec2926c110;hpb=5cb5a6ffc33667c93e9bc3572534dcaa684046e3 diff --git a/device.h b/device.h index e2597f710..09523ecf8 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