chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
list: make our list macros a bit easier to use by not requring type spec on each...
[elogind.git]
/
src
/
core
/
transaction.c
diff --git
a/src/core/transaction.c
b/src/core/transaction.c
index 203070fa2697f90f6e75989fbbff29b722d1b8db..ba7d8d9828087b68b2e3ca06853c955ed180fb7f 100644
(file)
--- a/
src/core/transaction.c
+++ b/
src/core/transaction.c
@@
-775,10
+775,10
@@
static Job* transaction_add_one_job(Transaction *tr, JobType type, Unit *unit, b
j->override = override;
j->irreversible = tr->irreversible;
j->override = override;
j->irreversible = tr->irreversible;
- LIST_PREPEND(
Job,
transaction, f, j);
+ LIST_PREPEND(transaction, f, j);
if (hashmap_replace(tr->jobs, unit, f) < 0) {
if (hashmap_replace(tr->jobs, unit, f) < 0) {
- LIST_REMOVE(
Job,
transaction, f, j);
+ LIST_REMOVE(transaction, f, j);
job_free(j);
return NULL;
}
job_free(j);
return NULL;
}