From 411e835c5040a68a8732ca474d63c2de9b7af2d0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 14 May 2020 18:43:46 +0200 Subject: condition: return (Condition*) NULL from condition_free() Follow our usual coding style. --- src/shared/condition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/condition.h') diff --git a/src/shared/condition.h b/src/shared/condition.h index fa00f6ea98..11dfc7425b 100644 --- a/src/shared/condition.h +++ b/src/shared/condition.h @@ -67,7 +67,7 @@ typedef struct Condition { } Condition; Condition* condition_new(ConditionType type, const char *parameter, bool trigger, bool negate); -void condition_free(Condition *c); +Condition* condition_free(Condition *c); Condition* condition_free_list_type(Condition *first, ConditionType type); static inline Condition* condition_free_list(Condition *first) { return condition_free_list_type(first, _CONDITION_TYPE_INVALID); -- cgit v1.2.1