X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Ftransaction.c;h=fa97b6975560d823a4d700fbd6eea66923bdd5bf;hp=610344eff3f256d01a4e67478dab4f1c3eccc261;hb=44a6b1b68029833893f6e9cee35aa27a974038f6;hpb=2f79c10e9aef916efbcf29315eea8c25d0a50ac4 diff --git a/src/core/transaction.c b/src/core/transaction.c index 610344eff..fa97b6975 100644 --- a/src/core/transaction.c +++ b/src/core/transaction.c @@ -140,7 +140,7 @@ static void transaction_merge_and_delete_job(Transaction *tr, Job *j, Job *other transaction_delete_job(tr, other, true); } -static bool job_is_conflicted_by(Job *j) { +_pure_ static bool job_is_conflicted_by(Job *j) { JobDependency *l; assert(j); @@ -320,7 +320,7 @@ rescan: } } -static bool unit_matters_to_anchor(Unit *u, Job *j) { +_pure_ static bool unit_matters_to_anchor(Unit *u, Job *j) { assert(u); assert(!j->transaction_prev);