chiark / gitweb /
job: job_new() can find the manager from the unit
[elogind.git] / src / core / job.h
index e25fc26235b35ee19e97e89ff6d94dc1e7abc9e8..35c213d7400a3acf64493b44d093bf18b1a9bc47 100644 (file)
@@ -137,7 +137,7 @@ struct Job {
         bool ignore_order:1;
 };
 
-Job* job_new(Manager *m, JobType type, Unit *unit);
+Job* job_new(Unit *unit, JobType type);
 void job_uninstall(Job *j);
 void job_free(Job *job);
 void job_dump(Job *j, FILE*f, const char *prefix);