summaryrefslogtreecommitdiff
path: root/src/test/test-path-util.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-06-21 05:55:17 +0200
committerTom Gundersen <teg@jklm.no>2014-06-22 00:45:15 +0200
commitc8b32e11ee24a333f8f7c7c15226741d22e55fdd (patch)
tree3ab047e603bcf8fff6b692ad96965c34bac58bf6 /src/test/test-path-util.c
parent2de61bbebfe6a1a97709b3277b150cacc30a79cd (diff)
consistently order cleanup attribute before type
Diffstat (limited to 'src/test/test-path-util.c')
-rw-r--r--src/test/test-path-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path-util.c b/src/test/test-path-util.c
index 4ee33a9543..19462c3571 100644
--- a/src/test/test-path-util.c
+++ b/src/test/test-path-util.c
@@ -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); \