consistently order cleanup attribute before type
This commit is contained in:
parent
2de61bbebf
commit
c8b32e11ee
10 changed files with 14 additions and 14 deletions
|
@ -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); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue