summaryrefslogtreecommitdiffstats
path: root/src/core/job.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-04-18 01:39:20 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-04-20 17:12:27 +0200
commit668ad332a404736474749cbcc8404af3e4447170 (patch)
treea92eca0b9a7a099637ba093668c13579cb22f5b1 /src/core/job.h
parentmanager: split transaction.[ch] (diff)
downloadsystemd-668ad332a404736474749cbcc8404af3e4447170.tar.xz
systemd-668ad332a404736474749cbcc8404af3e4447170.zip
job: job_new() can find the manager from the unit
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/job.h b/src/core/job.h
index e25fc26235..35c213d740 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -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);