chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unit: reduce heap usage for unit objects
[elogind.git]
/
src
/
timer.c
diff --git
a/src/timer.c
b/src/timer.c
index d127a117434a48a607d7d8d88dd6b0fb0e02fd29..87adb29e7ae61ae0e0f9c11c0c6397b9ffad5d7b 100644
(file)
--- a/
src/timer.c
+++ b/
src/timer.c
@@
-468,6
+468,7
@@
DEFINE_STRING_TABLE_LOOKUP(timer_base, TimerBase);
const UnitVTable timer_vtable = {
.suffix = ".timer",
+ .object_size = sizeof(Timer),
.sections =
"Unit\0"
"Timer\0"