summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-16 05:25:57 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-16 05:25:57 +0200
commitdfb33a9737e62ab872d3937b7690b252d2892fe8 (patch)
tree2cdc28e66d418c32c96cb2572c81cf9a3f8517bb /src/shared/logs-show.c
parent82da66fb750c91f06e713ff23a5e5c57ff05c2a8 (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/shared/logs-show.c')
-rw-r--r--src/shared/logs-show.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index 8897a10c2..570032121 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -30,6 +30,7 @@
#include "util.h"
#include "utf8.h"
#include "hashmap.h"
+#include "journal-internal.h"
#define PRINT_THRESHOLD 128
#define JSON_THRESHOLD 4096