chiark / gitweb /
move _cleanup_ attribute in front of the type
[elogind.git] / src / journal / test-journal-enum.c
index bd1f5199e553f803d355b4edd55aec36c4fd6fb2..980244e0163ecb471f52b0a5b33526e60c3fe726 100644 (file)
@@ -29,7 +29,7 @@
 
 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);