chiark / gitweb /
bus: fix bus_print_property() to use "int" for booleans
[elogind.git] / src / journal / journal-internal.h
index 1bc912c9776e6ede939b4828e5612889153921f9..2f1f7fc771d1cce8698ab89e687c418afe5bbc48 100644 (file)
@@ -25,7 +25,7 @@
 #include <inttypes.h>
 #include <stdbool.h>
 
-#include <systemd/sd-id128.h>
+#include "systemd/sd-id128.h"
 
 #include "journal-def.h"
 #include "list.h"
@@ -98,6 +98,7 @@ struct Directory {
 
 struct sd_journal {
         char *path;
+        char *prefix;
 
         Hashmap *files;
         MMapCache *mmap;
@@ -135,7 +136,7 @@ struct sd_journal {
 char *journal_make_match_string(sd_journal *j);
 void journal_print_header(sd_journal *j);
 
-define_trivial_cleanup_func(sd_journal*, sd_journal_close)
+DEFINE_TRIVIAL_CLEANUP_FUNC(sd_journal*, sd_journal_close);
 #define _cleanup_journal_close_ _cleanup_(sd_journal_closep)
 
 #define JOURNAL_FOREACH_DATA_RETVAL(j, data, l, retval)                     \