chiark / gitweb /
consistently order cleanup attribute before type
[elogind.git] / src / test / test-path-util.c
index 4ee33a9543f46302b16a733acd5a5a244d8c176e..19462c357183cd3563916a63d997aea18fb341e5 100644 (file)
@@ -58,7 +58,7 @@ static void test_path(void) {
         assert_se(streq(basename("file.../"), ""));
 
 #define test_parent(x, y) {                                \
-                char _cleanup_free_ *z = NULL;             \
+                _cleanup_free_ char *z = NULL;             \
                 int r = path_get_parent(x, &z);            \
                 printf("expected: %s\n", y ? y : "error"); \
                 printf("actual: %s\n", r<0 ? "error" : z); \