X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fcore%2Fdevice.h;h=f188640c59b673b5ad951f73ec6db47c1c7c96f3;hb=57b7a260c20f58a5c5d9c1e1aacde50646863919;hp=d52700b66f66bf9ea452018e1d5f351bf7f0fbb6;hpb=90a8f0b9a999b4bbb5110066266fd6d807e04aa3;p=thirdparty%2Fsystemd.git diff --git a/src/core/device.h b/src/core/device.h index d52700b66f6..f188640c59b 100644 --- a/src/core/device.h +++ b/src/core/device.h @@ -7,6 +7,8 @@ Copyright 2010 Lennart Poettering ***/ +#include "unit.h" + typedef struct Device Device; typedef enum DeviceFound { @@ -37,3 +39,5 @@ extern const UnitVTable device_vtable; int device_found_node(Manager *m, const char *node, bool add, DeviceFound found, bool now); bool device_shall_be_bound_by(Unit *device, Unit *u); + +DEFINE_CAST(DEVICE, Device);