diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-04-16 05:25:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-16 05:25:57 +0200 |
commit | dfb33a9737e62ab872d3937b7690b252d2892fe8 (patch) | |
tree | 2cdc28e66d418c32c96cb2572c81cf9a3f8517bb /src/journal/test-journal-enum.c | |
parent | 82da66fb750c91f06e713ff23a5e5c57ff05c2a8 (diff) |
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.
Diffstat (limited to 'src/journal/test-journal-enum.c')
-rw-r--r-- | src/journal/test-journal-enum.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/test-journal-enum.c b/src/journal/test-journal-enum.c index 88f583e6c7..bd1f5199e5 100644 --- a/src/journal/test-journal-enum.c +++ b/src/journal/test-journal-enum.c @@ -25,6 +25,7 @@ #include "sd-journal.h" #include "macro.h" #include "util.h" +#include "journal-internal.h" int main(int argc, char *argv[]) { unsigned n = 0; |