summaryrefslogtreecommitdiff
path: root/src/core/job.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-04-18 15:21:24 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-04-20 17:12:28 +0200
commit1da4264fbd0fa5e6b1bd5e0ac4674a3503774369 (patch)
treefd7939f6bf107bb97a5ff090f9dfe25773dfb205 /src/core/job.h
parent668ad332a404736474749cbcc8404af3e4447170 (diff)
job: jobs shouldn't need to know about transaction anchors
Let the transactions maintain their own anchor links.
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/job.h b/src/core/job.h
index 35c213d740..c7cf58dbfe 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -34,7 +34,6 @@ typedef enum JobMode JobMode;
typedef enum JobResult JobResult;
#include "manager.h"
-#include "transaction.h"
#include "unit.h"
#include "hashmap.h"
#include "list.h"
@@ -142,8 +141,8 @@ void job_uninstall(Job *j);
void job_free(Job *job);
void job_dump(Job *j, FILE*f, const char *prefix);
-JobDependency* job_dependency_new(Job *subject, Job *object, bool matters, bool conflicts, Transaction *tr);
-void job_dependency_free(JobDependency *l, Transaction *tr);
+JobDependency* job_dependency_new(Job *subject, Job *object, bool matters, bool conflicts);
+void job_dependency_free(JobDependency *l);
bool job_is_anchor(Job *j);