X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=target.h;h=27331782868070438ca790ef57cb9043beb187ff;hp=61f2803c1669ae8886ad59cfef8bd0f6886f3439;hb=94f043472a5af62dc9cd5767e89ba33872212d5e;hpb=c22cbe2672db2c95647c9412cfb4331d2be279a7 diff --git a/target.h b/target.h index 61f2803c1..273317828 100644 --- a/target.h +++ b/target.h @@ -5,11 +5,12 @@ typedef struct Target Target; -#include "name.h" +#include "unit.h" typedef enum TargetState { TARGET_DEAD, - TARGET_ACTIVE + TARGET_ACTIVE, + _TARGET_STATE_MAX } TargetState; struct Target { @@ -18,6 +19,6 @@ struct Target { TargetState state; }; -extern const NameVTable target_vtable; +extern const UnitVTable target_vtable; #endif