]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/strv.h
macro: rework how we define cleanup macros
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Apr 2013 03:25:57 +0000 (05:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Apr 2013 03:25:57 +0000 (05:25 +0200)
commitdfb33a9737e62ab872d3937b7690b252d2892fe8
tree2cdc28e66d418c32c96cb2572c81cf9a3f8517bb
parent82da66fb750c91f06e713ff23a5e5c57ff05c2a8
macro: rework how we define cleanup macros

There's now a generic _cleanup_ macro with an argument. The macros for
specific types are now defined using this macro, and in the header files
where they belong.

All cleanup handlers are now inline functions.
src/journal/coredumpctl.c
src/journal/journal-internal.h
src/journal/test-journal-enum.c
src/shared/logs-show.c
src/shared/macro.h
src/shared/set.h
src/shared/strv.h
src/shared/util.c
src/shared/util.h