chiark / gitweb /
Introduce _cleanup_endmntent_
[elogind.git] / src / journal / test-journal-enum.c
index 88f583e6c7f4696e74b3fc52422e72b82823d72c..980244e0163ecb471f52b0a5b33526e60c3fe726 100644 (file)
 #include "sd-journal.h"
 #include "macro.h"
 #include "util.h"
+#include "journal-internal.h"
 
 int main(int argc, char *argv[]) {
         unsigned n = 0;
-        sd_journal _cleanup_journal_close_ *j = NULL;
+        _cleanup_journal_close_ sd_journal*j = NULL;
 
         log_set_max_level(LOG_DEBUG);