X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fcondition.h;h=42fb9646d87fc9ac33d44c30449581396985ac9f;hb=1cfc78c91965df340cdde100ad6cb3ed50b28927;hp=28d1d94ff477420b2af94be627db92d5eef5d136;hpb=134e56dcc53970a20a858283650bb92cd5da1d17;p=elogind.git diff --git a/src/shared/condition.h b/src/shared/condition.h index 28d1d94ff..42fb9646d 100644 --- a/src/shared/condition.h +++ b/src/shared/condition.h @@ -77,9 +77,9 @@ typedef struct Condition { LIST_FIELDS(struct Condition, conditions); } Condition; -Condition* condition_new(ConditionType type, const char *parameter, bool trigger, bool negate); +// UNNEEDED Condition* condition_new(ConditionType type, const char *parameter, bool trigger, bool negate); void condition_free(Condition *c); -void condition_free_list(Condition *c); +Condition* condition_free_list(Condition *c); int condition_test(Condition *c);