X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=device.h;fp=device.h;h=09523ecf8a843370e17fe7275c35699e187e8372;hb=87f0e418cf2c58b3201d06a60e3696ec672d2662;hp=e2597f710dec01f9ec43905a401d9633e3deb89d;hpb=fd79db6a5df0f94c48736ce5aa0131d6ab108fb0;p=elogind.git 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