diff --git a/src/core/job.h b/src/core/job.h index 028281eb5f..4c2f78815b 100644 --- a/src/core/job.h +++ b/src/core/job.h @@ -164,15 +164,15 @@ void job_dependency_free(JobDependency *l); JobType job_type_lookup_merge(JobType a, JobType b) _const_; -_pure_ static inline bool job_type_is_mergeable(JobType a, JobType b) { +static inline bool job_type_is_mergeable(JobType a, JobType b) { return job_type_lookup_merge(a, b) >= 0; } -_pure_ static inline bool job_type_is_conflicting(JobType a, JobType b) { +static inline bool job_type_is_conflicting(JobType a, JobType b) { return a != JOB_NOP && b != JOB_NOP && !job_type_is_mergeable(a, b); } -_pure_ static inline bool job_type_is_superset(JobType a, JobType b) { +static inline bool job_type_is_superset(JobType a, JobType b) { /* Checks whether operation a is a "superset" of b in its actions */ if (b == JOB_NOP) return true;